Browse Source

Merge commit 'cbef2a6' into bfgminer

Luke Dashjr 13 years ago
parent
commit
80154fd190
1 changed files with 3 additions and 0 deletions
  1. 3 0
      miner.c

+ 3 - 0
miner.c

@@ -1998,6 +1998,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");