Add missing db_lock.unlock()

This commit is contained in:
Isaac Connor 2021-02-18 15:00:30 -05:00
parent 9502762ce8
commit bc41cd944e
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ Event::Event(
db_mutex.lock();
}
id = mysql_insert_id(&dbconn);
db_mutex.unlock();
if ( !SetPath(storage) ) {
// Try another