tsleep to let socket threads timeout - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit e2185da0942e3d5d57bc76d38498269ffb27a735 DIR parent 47d86d12beb463e2c7c2a148e6017f74f1046602 HTML Author: ThomasV <thomasv@gitorious> Date: Sat, 18 Jul 2015 14:03:52 +0200 sleep to let socket threads timeout Diffstat: M electrum | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/electrum b/electrum t@@ -131,6 +131,8 @@ def run_gui(config): if network: network.stop() + # sleep to let socket threads timeout + time.sleep(0.3) sys.exit(0)