diff options
Diffstat (limited to 'src/ft_exit.c')
-rw-r--r-- | src/ft_exit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ft_exit.c b/src/ft_exit.c index 729dda7..17b7087 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -55,9 +55,8 @@ static void system(FT_SND_TERM_CMD); } i = -1; - while (++i < FT_TOTAL_SFX) + while (clist->wlist.inited && ++i < FT_TOTAL_SFX) { - pthread_mutex_destroy(&clist->sfx[i].mutex); if (FT_OS == 2) { pthread_cancel(clist->sfx[i].tid); |