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:
Jaime van Kessel 2017-02-10 15:03:34 +01:00
parent 6e7c4711e3
commit 5e5cc723d7

View file

@ -79,10 +79,6 @@ class USBPrinterOutputDeviceManager(QObject, OutputDevicePlugin, Extension):
def stop(self):
self._check_updates = False
try:
self._update_thread.join()
except RuntimeError:
pass
def _updateThread(self):
while self._check_updates: