mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-04 12:18:33 +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
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