mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-11 08:05:42 -04:00
Release lock before notify
This commit is contained in:
@@ -242,8 +242,8 @@ void zmDbQueue::stop() {
|
||||
std::unique_lock<std::mutex> lock(mMutex);
|
||||
|
||||
mTerminate = true;
|
||||
mCondition.notify_all();
|
||||
}
|
||||
mCondition.notify_all();
|
||||
|
||||
if (mThread.joinable()) mThread.join();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user