From 33b5739dca1ddb5a068bf29ff6b08726e759a0e2 Mon Sep 17 00:00:00 2001 From: seife Date: Sun, 12 Sep 2010 16:58:47 +0000 Subject: [PATCH] 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 --- src/sectionsd/sectionsd.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sectionsd/sectionsd.cpp b/src/sectionsd/sectionsd.cpp index d38c97a8f..10943c7b0 100644 --- a/src/sectionsd/sectionsd.cpp +++ b/src/sectionsd/sectionsd.cpp @@ -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;