From c3cba786593b28d3c9d9d2084d61eea8b89f0461 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 13 Mar 2015 23:10:54 +0100 Subject: [PATCH] remove time.sleep() used for daemon threads --- electrum | 4 ---- 1 file changed, 4 deletions(-) diff --git a/electrum b/electrum index aeca81fcd..ffe708fe7 100755 --- a/electrum +++ b/electrum @@ -250,9 +250,6 @@ if __name__ == '__main__': if network: network.stop() - # we use daemon threads, their termination is enforced. - # this sleep command gives them time to terminate cleanly. - time.sleep(0.3) sys.exit(0) if cmd == 'daemon': @@ -505,5 +502,4 @@ if __name__ == '__main__': else: run_command(cmd, password, args) - time.sleep(0.1) sys.exit(0)