aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_exit.c')
-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 ca5201c..c7b2275 100644
--- a/src/ft_exit.c
+++ b/src/ft_exit.c
@@ -16,8 +16,6 @@
#include <stddef.h>
#include <stdlib.h>
#include <stdint.h>
-#include <signal.h>
-#include <pthread.h>
static void
ft_free_lists(t_cub *clist)
@@ -67,8 +65,7 @@ int
}
if (clist->isoldmus && clist->wlist.inited)
{
- pthread_cancel(clist->tid);
- pthread_join(clist->tid, NULL);
+ /* kill fork() here */
}
ft_free_lists(clist);
ft_printf("Exiting program\n");