Fixes another two bugs detected by cppcheck, no Issue
This commit is contained in:
@@ -151,7 +151,7 @@ void BatchQueueEntryUpdater::terminate () {
|
||||
|
||||
if (!stopped) {
|
||||
// Yield to currently running thread and wait till it's finished
|
||||
GThreadUnLock();
|
||||
GThreadUnLock lock;
|
||||
tostop = true;
|
||||
Glib::Thread::self()->yield();
|
||||
if (!stopped) thread->join ();
|
||||
|
Reference in New Issue
Block a user