From 713434d0298487c019a4717b9920dae7a043e74d Mon Sep 17 00:00:00 2001 From: Mike Walters Date: Sun, 31 Jul 2016 16:05:56 +0100 Subject: [PATCH] Let the processing thread stop the process Fixes exception where the processing thread would try to read stdout after the process had stopped, but before the processing thread stopped --- qspectrumanalyzer/backend.py | 1 - 1 file changed, 1 deletion(-) diff --git a/qspectrumanalyzer/backend.py b/qspectrumanalyzer/backend.py index 541d8c7..abb3b2f 100644 --- a/qspectrumanalyzer/backend.py +++ b/qspectrumanalyzer/backend.py @@ -17,7 +17,6 @@ class RtlPowerBaseThread(QtCore.QThread): def stop(self): """Stop rtl_power thread""" - self.process_stop() self.alive = False self.wait()