diff --git a/cgminer.c b/cgminer.c index 5a8169d7..55d3943b 100644 --- a/cgminer.c +++ b/cgminer.c @@ -1983,6 +1983,9 @@ static void __kill_work(void) struct thr_info *thr; int i; + if (!successful_connect) + return; + applog(LOG_INFO, "Received kill message"); applog(LOG_DEBUG, "Killing off watchpool thread");