diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2004-05-02 00:58:49 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2004-05-02 00:58:49 +0400 |
commit | d07aec7c70626d73856182d1a240168e1b53b4b4 (patch) | |
tree | 231e2a6684f6c5b78862356b946a7ef08ea65791 /core | |
parent | bc63bc73b78948d2f641f0681d951f3c3287b34c (diff) |
con.disconnect canfreeze i network is down
so when pressing control+C, exit immediatly
Diffstat (limited to 'core')
-rw-r--r-- | core/core.py | 3 |
1 files changed, 0 insertions, 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: |