From 923a4abe59021c8c2584e224cf21b4e69df37caf Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 20 May 2014 14:52:58 +1000 Subject: [PATCH] Don't bother sending the listener the shutdown message since the signal handler will kill off the main thread --- src/ckpool.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ckpool.c b/src/ckpool.c index b604f6b7..bfdd20be 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -226,9 +226,6 @@ static void sighandler(int sig) pthread_cancel(global_ckp->pth_watchdog); join_pthread(global_ckp->pth_watchdog); - /* First attempt, send a shutdown message */ - send_proc(&global_ckp->main, "shutdown"); - for (i = 0; i < global_ckp->proc_instances; i++) send_proc(global_ckp->children[i], "shutdown");