- fixed the color set for the application objects
- made some reverts regarding the mods in the quit_application() method - problems when freezed RELEASE 8.993
This commit is contained in:
@@ -174,6 +174,7 @@ def restart_program(app, ask=None):
|
||||
Note: this function does not return. Any cleanup action (like
|
||||
saving data) must be done before calling this function.
|
||||
"""
|
||||
log.debug("FlatCAMTranslation.restart_program()")
|
||||
|
||||
theme_settings = QSettings("Open Source", "FlatCAM")
|
||||
if theme_settings.contains("theme"):
|
||||
@@ -188,9 +189,9 @@ def restart_program(app, ask=None):
|
||||
|
||||
# try to quit the Socket opened by ArgsThread class
|
||||
try:
|
||||
# app.new_launch.stop.emit()
|
||||
app.new_launch.thread_exit = True
|
||||
app.new_launch.listener.close()
|
||||
app.new_launch.stop.emit()
|
||||
# app.new_launch.thread_exit = True
|
||||
# app.new_launch.listener.close()
|
||||
except Exception as err:
|
||||
log.debug("FlatCAMTranslation.restart_program() --> %s" % str(err))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user