daemon: use daemon threads
This commit is contained in:
parent
9782734f4c
commit
e9c101f0c8
6
electrum
6
electrum
|
@ -260,13 +260,13 @@ def run_command(config, network, password):
|
|||
return result
|
||||
|
||||
|
||||
class ClientThread(util.DaemonThread):
|
||||
class ClientThread(threading.Thread):
|
||||
|
||||
def __init__(self, server, s):
|
||||
util.DaemonThread.__init__(self)
|
||||
threading.Thread.__init__(self)
|
||||
self.daemon = True
|
||||
self.server = server
|
||||
self.client_pipe = util.SocketPipe(s)
|
||||
self.subscriptions = defaultdict(list)
|
||||
self.network = self.server.network
|
||||
|
||||
def run(self):
|
||||
|
|
Loading…
Reference in New Issue