CComponentsTimer: ensure cleanup of OnTimer signal while sopping timer

This commit is contained in:
2017-05-27 17:24:48 +02:00
parent de3c14a881
commit c0fe5d2402

View File

@@ -143,6 +143,7 @@ bool CComponentsTimer::startTimer()
bool CComponentsTimer::stopTimer()
{
tm_enable = false;
OnTimer.clear();
stopThread();
if(tm_thread == 0)
return true;