aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_exit.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_exit.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ft_exit.c b/src/ft_exit.c
index 6726fb1..ca5201c 100644
--- a/src/ft_exit.c
+++ b/src/ft_exit.c
@@ -68,10 +68,7 @@ int
if (clist->isoldmus && clist->wlist.inited)
{
pthread_cancel(clist->tid);
- if (FT_OS == 2)
- pthread_join(clist->tid, NULL);
- else
- pthread_kill(clist->tid, SIGTERM);
+ pthread_join(clist->tid, NULL);
}
ft_free_lists(clist);
ft_printf("Exiting program\n");