Browse Source

Bugfix: Wake up mining threads when asking them to shutdown

Luke Dashjr 12 years ago
parent
commit
9e8af09433
1 changed files with 1 additions and 0 deletions
  1. 1 0
      miner.c

+ 1 - 0
miner.c

@@ -3541,6 +3541,7 @@ static void __kill_work(void)
 			continue;
 
 		cgpu->shutdown = true;
+		notifier_wake(thr->notifier);
 	}
 
 	sleep(1);