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:
seife
2010-09-12 16:58:47 +00:00
parent 982b28298a
commit 33b5739dca

View File

@@ -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;