refactored cleanup handlers to use a queue, so they will work with the GUI

This commit is contained in:
Micah Lee 2014-08-26 15:44:44 -07:00
parent a3fb7a930b
commit 0bc778437d
3 changed files with 22 additions and 13 deletions

View file

@ -373,7 +373,7 @@ def main():
# clean up when app quits
def shutdown():
pass
onionshare.execute_cleanup_handlers()
app.connect(app, QtCore.SIGNAL("aboutToQuit()"), shutdown)
# launch the gui