From d07aec7c70626d73856182d1a240168e1b53b4b4 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 1 May 2004 20:58:49 +0000 Subject: [PATCH] con.disconnect canfreeze i network is down so when pressing control+C, exit immediatly --- core/core.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/core.py b/core/core.py index 5b8e90f08..ee6e48328 100644 --- a/core/core.py +++ b/core/core.py @@ -475,9 +475,6 @@ def start(): gc.mainLoop() except KeyboardInterrupt: print "Keyboard Interrupt : Bye!" - for con in gc.connexions.keys(): - if gc.connected[gc.connexions[con]]: - con.disconnect() gc.hub.sendPlugin('QUIT', None, ()) return 0 # except: