Skip to content

Commit

Permalink
Fix installer not closing on CTRL-C
Browse files Browse the repository at this point in the history
  • Loading branch information
drojf committed Dec 9, 2023
1 parent 59fe24a commit 68ba645
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,10 @@ def doInstallerInit():
# The installer initialization (scan for executables, check network, retrieve mod list) is launched
# concurrently with the Web GUI. The Web GUI shows a loading screen until init is complete.
threading.Thread(target=doInstallerInit).start()
installerGUI.server_test()

try:
installerGUI.server_test()
except KeyboardInterrupt:
installerGUI.shutdown()

logger.Logger.globalLogger.close_all_logs()

0 comments on commit 68ba645

Please sign in to comment.