From 4103f0de5325df1ba0da632996b0a055ab3f39be Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 24 Apr 2020 17:03:02 +0200 Subject: Maybe that --- src/ft_exit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ft_exit.c b/src/ft_exit.c index 988a0cf..a1813d5 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -49,6 +49,7 @@ static void if (FT_OS == 2) { pthread_cancel(clist->sfx[i].tid); + pthread_join(clist->sfx[i].tid, NULL); } else system(FT_SND_TERM_CMD); @@ -60,6 +61,7 @@ static void if (FT_OS == 2) { pthread_cancel(clist->sfx[i].tid); + pthread_join(clist->sfx[i].tid, NULL); } else system(FT_SND_TERM_CMD); -- cgit v1.2.3