From 5e4defc30f282adf7717806fcac086f70d870a41 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 24 Apr 2020 17:04:26 +0200 Subject: You fucktard --- src/ft_exit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ft_exit.c b/src/ft_exit.c index a1813d5..729dda7 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -48,8 +48,8 @@ static void { if (FT_OS == 2) { - pthread_cancel(clist->sfx[i].tid); - pthread_join(clist->sfx[i].tid, NULL); + pthread_cancel(clist->mtid); + pthread_join(clist->mtid, NULL); } else system(FT_SND_TERM_CMD); -- cgit v1.2.3