From af420cd70a6bc8bc1ca947aa7077f1abfbe6220a Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 22 Mar 2020 22:20:28 +0100 Subject: Cleaner --- src/ft_exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3