mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
BLACK_AUDIT_X for killTimer, trace Qt killTimer warnings in "our" code
This commit is contained in:
committed by
Mat Sutcliffe
parent
4ca3a925ce
commit
481833b003
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user