From: Jaroslav Kysela Date: Tue, 8 Mar 2016 14:51:21 +0000 (+0100) Subject: destroy correctly the mtimer tick thread X-Git-Tag: v4.2.1~933 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=62d9242e7ed8163010d349c4e22e9a8d10ddbef7;p=thirdparty%2Ftvheadend.git destroy correctly the mtimer tick thread --- diff --git a/src/main.c b/src/main.c index 3abd1eeb9..4369bd7e0 100644 --- a/src/main.c +++ b/src/main.c @@ -1289,7 +1289,7 @@ main(int argc, char **argv) tasklet_flush(); tvhtrace("main", "tasklet leave"); tvhtrace("main", "mtimer tick thread join enter"); - pthread_join(tasklet_tid, NULL); + pthread_join(mtimer_tick_tid, NULL); tvhtrace("main", "mtimer tick thread join leave"); tvhftrace("main", dvb_done);