diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-24 17:04:26 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-24 17:04:26 +0200 |
commit | 5e4defc30f282adf7717806fcac086f70d870a41 (patch) | |
tree | 104046a165e6ce3586e05e94f1872a17f8bdd6be | |
parent | Maybe that (diff) | |
download | 42-cub3d-5e4defc30f282adf7717806fcac086f70d870a41.tar.gz 42-cub3d-5e4defc30f282adf7717806fcac086f70d870a41.tar.bz2 42-cub3d-5e4defc30f282adf7717806fcac086f70d870a41.tar.xz 42-cub3d-5e4defc30f282adf7717806fcac086f70d870a41.tar.zst 42-cub3d-5e4defc30f282adf7717806fcac086f70d870a41.zip |
You fucktard
-rw-r--r-- | src/ft_exit.c | 4 |
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); |