Ignored runtime exception for usb thread

This commit is contained in:
Jaime van Kessel 2015-08-13 12:14:47 +02:00
parent 0989c8345e
commit a63d08288a

View file

@ -56,7 +56,10 @@ class USBPrinterManager(QObject, SignalEmitter, OutputDevicePlugin, Extension):
def stop(self):
self._check_updates = False
self._update_thread.join()
try:
self._update_thread.join()
except RuntimeError:
pass
def _updateThread(self):
while self._check_updates: