mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
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:
@@ -143,6 +143,7 @@ bool CComponentsTimer::startTimer()
|
||||
bool CComponentsTimer::stopTimer()
|
||||
{
|
||||
tm_enable = false;
|
||||
OnTimer.clear();
|
||||
stopThread();
|
||||
if(tm_thread == 0)
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user