[Worker] Stop timer in correct thread

This commit is contained in:
Klaus Basan
2020-03-15 00:35:47 +01:00
committed by Mat Sutcliffe
parent 5718f95819
commit 1da66ce6e9
3 changed files with 26 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ namespace BlackMisc
void CBackgroundValidation::beforeQuit() noexcept
{
m_wasStopped = true; // stop in utility functions
m_updateTimer.stop();
this->stopUpdateTimer();
}
void CBackgroundValidation::doWork()