revert to daemon threads because some clients do not seem to close their sockets cleanly
This commit is contained in:
@@ -29,7 +29,7 @@ class WalletVerifier(threading.Thread):
|
||||
|
||||
def __init__(self, interface, config):
|
||||
threading.Thread.__init__(self)
|
||||
#self.daemon = True
|
||||
self.daemon = True
|
||||
self.config = config
|
||||
self.interface = interface
|
||||
self.transactions = {} # requested verifications (with height sent by the requestor)
|
||||
|
||||
@@ -1156,7 +1156,7 @@ class WalletSynchronizer(threading.Thread):
|
||||
|
||||
def __init__(self, wallet, config):
|
||||
threading.Thread.__init__(self)
|
||||
# self.daemon = True
|
||||
self.daemon = True
|
||||
self.wallet = wallet
|
||||
self.interface = self.wallet.interface
|
||||
self.interface.register_channel('synchronizer')
|
||||
|
||||
Reference in New Issue
Block a user