Wait for PoW processes to exit before returning a result. Hopefully not needed.

This commit is contained in:
Arceliar 2013-06-06 19:30:57 +02:00
parent 4aca81e21f
commit 30d829d0d4
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ def _doFastPoW(target, initialHash):
if result[i].ready():
result = result[i].get()
pool.terminate()
pool.join() #Wait for the workers to exit...
return result[0], result[1]
time.sleep(0.2)