Skip to content

Commit

Permalink
fix for cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilJohan committed Jul 24, 2024
1 parent d3f8e5b commit 11ec0d3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Smelt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1102,4 +1102,11 @@ def cleanup():
window = Smelt()
window.show()


def on_exit():
cleanup()
sys.exit()


app.aboutToQuit.connect(on_exit)
sys.exit(app.exec_())

0 comments on commit 11ec0d3

Please sign in to comment.