tdaemon: use daemon threads - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit e9c101f0c8dc1856447de307efd94df385d602c8 (DIR) parent 9782734f4ca2b28a6ee58d6d70cc5470ebd001a6 (HTM) Author: ThomasV <thomasv@electrum.org> Date: Fri, 27 Nov 2015 09:54:01 +0100 daemon: use daemon threads Diffstat: M electrum | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- (DIR) diff --git a/electrum b/electrum t@@ -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):