mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-25 20:01:33 -07:00
Merge branch 'master' of https://github.com/Ultimaker/Cura
This commit is contained in:
commit
38c9d6d847
1 changed files with 4 additions and 1 deletions
|
|
@ -56,7 +56,10 @@ class USBPrinterManager(QObject, SignalEmitter, OutputDevicePlugin, Extension):
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
self._check_updates = False
|
self._check_updates = False
|
||||||
|
try:
|
||||||
self._update_thread.join()
|
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