mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 02:11:04 +02:00
CComponentsTimer::stopTimer() - fix crash
https://dbox2world.net/thread/12772-tuxbox-neutrino-gui-neutrino-master/?postID=182518#post182518
Origin commit data
------------------
Commit: 36b275eccb
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2017-05-29 (Mon, 29 May 2017)
Origin message was:
------------------
- CComponentsTimer::stopTimer() - fix crash
https://dbox2world.net/thread/12772-tuxbox-neutrino-gui-neutrino-master/?postID=182518#post182518
This commit is contained in:
@@ -143,11 +143,11 @@ bool CComponentsTimer::startTimer()
|
||||
bool CComponentsTimer::stopTimer()
|
||||
{
|
||||
tm_enable = false;
|
||||
OnTimer.clear();
|
||||
stopThread();
|
||||
if(tm_thread == 0)
|
||||
if(tm_thread == 0) {
|
||||
OnTimer.clear();
|
||||
return true;
|
||||
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user