mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-09 06:42:37 -04:00
refactored cleanup handlers to use a queue, so they will work with the GUI
This commit is contained in:
parent
a3fb7a930b
commit
0bc778437d
3 changed files with 22 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue