1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Unlock mutex before returning history instance

fix #2428
This commit is contained in:
Zetok Zalbavar 2015-10-21 13:17:42 +01:00
parent c07aee18ad
commit 0c34b079a5
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

@ -59,6 +59,7 @@ HistoryKeeper *HistoryKeeper::getInstance()
dbIntf = new EncryptedDb(path, initLst);
historyInstance = new HistoryKeeper(dbIntf);
historyMutex.unlock();
return historyInstance;
}
else