con.disconnect canfreeze i network is down

so when pressing control+C, exit immediatly
This commit is contained in:
Yann Leboulanger 2004-05-01 20:58:49 +00:00
parent bc63bc73b7
commit d07aec7c70
1 changed files with 0 additions and 3 deletions

View File

@ -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: