aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ft_exit.c4
1 files 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);