mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
CComponentsTimer: ensure cleanup of OnTimer signal while sopping timer
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user