diff options
Diffstat (limited to 'src/notify.c')
-rw-r--r-- | src/notify.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/notify.c b/src/notify.c index 1b7e924..188d92c 100644 --- a/src/notify.c +++ b/src/notify.c @@ -188,7 +188,10 @@ void notify_stop_main_thread (void) { if (notify_t_main) - pthread_cancel (notify_t_main); + { + pthread_cancel (notify_t_main); + pthread_join (notify_t_main, NULL); + } } /* |