From 109c17dc68f08f0120e7ad9e7cdae93265afe7e0 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 4 Mar 2020 22:22:26 +0100 Subject: Clean --- src/ft_music.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ft_music.c') diff --git a/src/ft_music.c b/src/ft_music.c index 7688f57..aec5e58 100644 --- a/src/ft_music.c +++ b/src/ft_music.c @@ -23,6 +23,7 @@ void cl = (t_cub *)vargp; cl->isoldmus = 1; + pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); while (1) system(cl->mlist.music_cmd); return (NULL); -- cgit v1.2.3