Add missing db_lock.unlock()
This commit is contained in:
parent
9502762ce8
commit
bc41cd944e
|
@ -133,6 +133,7 @@ Event::Event(
|
||||||
db_mutex.lock();
|
db_mutex.lock();
|
||||||
}
|
}
|
||||||
id = mysql_insert_id(&dbconn);
|
id = mysql_insert_id(&dbconn);
|
||||||
|
db_mutex.unlock();
|
||||||
|
|
||||||
if ( !SetPath(storage) ) {
|
if ( !SetPath(storage) ) {
|
||||||
// Try another
|
// Try another
|
||||||
|
|
Loading…
Reference in New Issue