From 5e5cc723d79d403f994567dd092881beb23b415c Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 10 Feb 2017 15:03:34 +0100 Subject: [PATCH] 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!) --- plugins/USBPrinting/USBPrinterOutputDeviceManager.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/USBPrinting/USBPrinterOutputDeviceManager.py b/plugins/USBPrinting/USBPrinterOutputDeviceManager.py index 4dec2e3a06..84f1d26e16 100644 --- a/plugins/USBPrinting/USBPrinterOutputDeviceManager.py +++ b/plugins/USBPrinting/USBPrinterOutputDeviceManager.py @@ -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: