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
This commit is contained in:
Mike Walters 2016-07-31 16:05:56 +01:00
parent 461e674f82
commit 713434d029

View File

@ -17,7 +17,6 @@ class RtlPowerBaseThread(QtCore.QThread):
def stop(self):
"""Stop rtl_power thread"""
self.process_stop()
self.alive = False
self.wait()