commit c3cba786593b28d3c9d9d2084d61eea8b89f0461
parent 72688a5cfa25066d1fd6eee646b874725359ff04
Author: ThomasV <thomasv@gitorious>
Date: Fri, 13 Mar 2015 23:10:54 +0100
remove time.sleep() used for daemon threads
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git 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)