BLACK_AUDIT_X for killTimer, trace Qt killTimer warnings in "our" code

This commit is contained in:
Klaus Basan
2020-01-27 15:13:14 +01:00
committed by Mat Sutcliffe
parent 4ca3a925ce
commit 481833b003
3 changed files with 24 additions and 5 deletions

View File

@@ -314,6 +314,7 @@ namespace BlackCore
void ISimulator::safeKillTimer()
{
if (m_timerId < 0) { return; }
BLACK_AUDIT_X(CThreadUtils::isCurrentThreadObjectThread(this), Q_FUNC_INFO, "Try to kill timer from another thread");
this->killTimer(m_timerId);
m_timerId = -1;
}