Merge branch 'ni/tuxbox' into ni/mp/tuxbox

Origin commit data
------------------
Commit: 2733e0f260
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-01-02 (Mon, 02 Jan 2017)
This commit is contained in:
vanhofen
2017-01-02 23:55:23 +01:00
63 changed files with 172 additions and 109 deletions

View File

@@ -821,7 +821,9 @@ void CTimerManager::cancelShutdownOnWakeup()
{
pthread_mutex_lock(&tm_eventsMutex);
if (shutdown_eventID > -1) {
pthread_mutex_unlock(&tm_eventsMutex);
removeEvent(shutdown_eventID);
pthread_mutex_lock(&tm_eventsMutex);
shutdown_eventID = -1;
}
wakeup = 0;