diff options
Diffstat (limited to 'src/ft_exit.c')
-rw-r--r-- | src/ft_exit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ft_exit.c b/src/ft_exit.c index 8c85fdb..d9d9ef8 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -49,7 +49,7 @@ static void if (FT_OS == 2) { pthread_cancel(clist->mtid); - /* pthread_join(clist->mtid, NULL); */ + pthread_join(clist->mtid, NULL); } else system(FT_SND_TERM_CMD); @@ -59,9 +59,8 @@ static void { if (FT_OS == 2) { + pthread_mutex_destroy(&clist->sfx[i].mutex); system(FT_SND_TERM_CMD); - /* pthread_cancel(clist->sfx[i].tid); */ - pthread_join(clist->sfx[i].tid, NULL); } else system(FT_SND_TERM_CMD); |