mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 18:49:01 +08:00
Ignored runtime exception for usb thread
This commit is contained in:
parent
0989c8345e
commit
a63d08288a
@ -56,7 +56,10 @@ class USBPrinterManager(QObject, SignalEmitter, OutputDevicePlugin, Extension):
|
|||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
self._check_updates = False
|
self._check_updates = False
|
||||||
self._update_thread.join()
|
try:
|
||||||
|
self._update_thread.join()
|
||||||
|
except RuntimeError:
|
||||||
|
pass
|
||||||
|
|
||||||
def _updateThread(self):
|
def _updateThread(self):
|
||||||
while self._check_updates:
|
while self._check_updates:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user