tremove time.sleep() used for daemon threads - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit c3cba786593b28d3c9d9d2084d61eea8b89f0461
DIR parent 72688a5cfa25066d1fd6eee646b874725359ff04
HTML Author: ThomasV <thomasv@gitorious>
Date: Fri, 13 Mar 2015 23:10:54 +0100
remove time.sleep() used for daemon threads
Diffstat:
M electrum | 4 ----
1 file changed, 0 insertions(+), 4 deletions(-)
---
DIR diff --git a/electrum b/electrum
t@@ -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':
t@@ -505,5 +502,4 @@ if __name__ == '__main__':
else:
run_command(cmd, password, args)
- time.sleep(0.1)
sys.exit(0)