mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:29:00 +08:00
Calling the stop of USBPrinterOutput device no longer joins the thread.
This caused quite a bit of delay on the application closing down (up to 5 seconds!)
This commit is contained in:
parent
6e7c4711e3
commit
5e5cc723d7
@ -79,10 +79,6 @@ class USBPrinterOutputDeviceManager(QObject, OutputDevicePlugin, Extension):
|
|||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
self._check_updates = False
|
self._check_updates = False
|
||||||
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