Skip to content
Snippets Groups Projects
Commit d07aec7c authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

con.disconnect canfreeze i network is down

so when pressing control+C, exit immediatly
parent bc63bc73
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment