mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-09 22:58:28 +02:00
sectionsd: cancel TOT thread on shutdown
this helps with spurious hangs on exit / ctrl-C
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@764 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: 33b5739dca
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-09-12 (Sun, 12 Sep 2010)
This commit is contained in:
@@ -8722,6 +8722,8 @@ printf("pausing...\n");
|
||||
|
||||
if(dmxUTC) dmxUTC->Stop();
|
||||
|
||||
pthread_cancel(threadTOT);
|
||||
|
||||
printf("join 1\n");
|
||||
pthread_join(threadTOT, NULL);
|
||||
if(dmxUTC) delete dmxUTC;
|
||||
|
Reference in New Issue
Block a user