- updated the Italian translation - contribution by Golfetto Massimiliano

- made the timing for the object creation to be displayed in the shell
This commit is contained in:
Marius Stanciu
2020-06-04 02:53:06 +03:00
committed by Marius
parent 0e007bbcbc
commit 4b01fd5473
6 changed files with 53 additions and 61 deletions

View File

@@ -188,13 +188,15 @@ def restart_program(app, ask=None):
# try to quit the Socket opened by ArgsThread class
try:
app.new_launch.stop.emit()
# 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))
# try to quit the QThread that run ArgsThread class
try:
app.th.quit()
app.listen_th.quit()
except Exception as err:
log.debug("FlatCAMTranslation.restart_program() --> %s" % str(err))