diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-04 22:22:26 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-04 22:22:26 +0100 |
commit | 109c17dc68f08f0120e7ad9e7cdae93265afe7e0 (patch) | |
tree | 5f1749d0c02a5f4b67e8fac8dd9e54596772ee3b /src/ft_music.c | |
parent | Maps is cool yo (diff) | |
download | 42-cub3d-109c17dc68f08f0120e7ad9e7cdae93265afe7e0.tar.gz 42-cub3d-109c17dc68f08f0120e7ad9e7cdae93265afe7e0.tar.bz2 42-cub3d-109c17dc68f08f0120e7ad9e7cdae93265afe7e0.tar.xz 42-cub3d-109c17dc68f08f0120e7ad9e7cdae93265afe7e0.tar.zst 42-cub3d-109c17dc68f08f0120e7ad9e7cdae93265afe7e0.zip |
Clean
Diffstat (limited to '')
-rw-r--r-- | src/ft_music.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |