mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06: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
1 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue