CComponentsTimer: ensure cleanup of OnTimer signal while sopping timer

Origin commit data
------------------
Commit: c0fe5d2402
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-27 (Sat, 27 May 2017)
This commit is contained in:
2017-05-27 17:24:48 +02:00
parent 5ee3e98065
commit 8f7b23ad19

View File

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