fix bug from #1281

This commit is contained in:
ThomasV 2015-07-05 18:16:33 +02:00
parent bad9030554
commit 0368a2cd5e

View file

@ -1095,7 +1095,7 @@ class Abstract_Wallet(object):
def stop_threads(self): def stop_threads(self):
if self.network: if self.network:
self.verifier.stop() self.verifier.stop()
self.network.jobs = [] self.network.jobs.remove(self.synchronizer.main_loop)
self.synchronizer = None self.synchronizer = None
self.storage.put('stored_height', self.get_local_height(), True) self.storage.put('stored_height', self.get_local_height(), True)