aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_exit.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-23 16:49:30 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-23 16:49:30 +0100
commit314a8e07226d1f4c9d9537371963c233d781ac08 (patch)
treea23ef16ba76449f0742d73b10513464c64bcc0ea /src/ft_exit.c
parentStuff to fix but ok (diff)
download42-cub3d-314a8e07226d1f4c9d9537371963c233d781ac08.tar.gz
42-cub3d-314a8e07226d1f4c9d9537371963c233d781ac08.tar.bz2
42-cub3d-314a8e07226d1f4c9d9537371963c233d781ac08.tar.xz
42-cub3d-314a8e07226d1f4c9d9537371963c233d781ac08.tar.zst
42-cub3d-314a8e07226d1f4c9d9537371963c233d781ac08.zip
sfx: good
Diffstat (limited to 'src/ft_exit.c')
-rw-r--r--src/ft_exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_exit.c b/src/ft_exit.c
index 4f955f4..ed1191c 100644
--- a/src/ft_exit.c
+++ b/src/ft_exit.c
@@ -40,7 +40,7 @@ static void
pthread_join(clist->mtid, NULL);
}
i = -1;
- while (++i < 12)
+ while (++i < 13)
{
pthread_mutex_unlock(&clist->sfx[i].mutex);
pthread_cancel(clist->sfx[i].tid);