diff --git a/CHANGELOG.md b/CHANGELOG.md index 15e5ea78..5fbe3c3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ CHANGELOG for FlatCAM Evo beta - in Cutout Plugin added ability to use the margin (full range of values: negative, zero, positive) when applying the cutout over a Geometry source object - updated the Turkish language strings (by Mehmet Kaya) - in Cutout Plugin added an extra attempt to solve the issue with creating invalid geometries +- the ArgThread class is no longer launched in case of Linux systems due of crashes 16.05.2022 diff --git a/appMain.py b/appMain.py index d20170b2..65a68319 100644 --- a/appMain.py +++ b/appMain.py @@ -451,7 +451,7 @@ class App(QtCore.QObject): # ############################################################################################################ # ################# Setup the listening thread for another instance launching with args ###################### # ############################################################################################################ - if sys.platform == 'win32' or sys.platform == 'linux': + if sys.platform == 'win32': # make sure the thread is stored by using a self. otherwise it's garbage collected self.listen_th = QtCore.QThread() self.listen_th.start(priority=QtCore.QThread.Priority.LowestPriority) @@ -4180,7 +4180,7 @@ class App(QtCore.QObject): # try to quit the QThread that run ArgsThread class try: # del self.new_launch - if sys.platform == 'win32' or sys.platform == 'linux': + if sys.platform == 'win32': self.listen_th.quit() except Exception as e: if silent is False: @@ -4194,7 +4194,7 @@ class App(QtCore.QObject): # self.close_app_signal.emit() # sys.exit(0) QtWidgets.QApplication.quit() - if sys.platform == 'win32' or sys.platform == 'linux': + if sys.platform == 'win32': try: self.new_launch.close_command() except Exception: @@ -9451,7 +9451,6 @@ class App(QtCore.QObject): return float('%.*f' % (dec_nr, float(val))) - class ArgsThread(QtCore.QObject): open_signal = pyqtSignal(list) start = pyqtSignal()