diff options
-rw-r--r-- | src/ft_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_exit.c b/src/ft_exit.c index a8ca19f..4f955f4 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 < 10) + while (++i < 12) { pthread_mutex_unlock(&clist->sfx[i].mutex); pthread_cancel(clist->sfx[i].tid); |