CComponentsTimer: ensure cleanup of OnTimer signal while sopping timer

Origin commit data
------------------
Branch: ni/coolstream
Commit: c0fe5d2402
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-05-27 (Sat, 27 May 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2017-05-27 17:24:48 +02:00
parent 9fa536bc45
commit 1628e76f66

View File

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