From d6872ef6d392aa9ca1369cee1e66324021177679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Izs=C3=B3=20Andr=C3=A1s?= Date: Tue, 30 Nov 2021 02:14:46 +0100 Subject: [PATCH] Set _stop flags before stop_checkings for faster exit --- RKIgui.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/RKIgui.py b/RKIgui.py index 1a44a38..397c5da 100644 --- a/RKIgui.py +++ b/RKIgui.py @@ -197,6 +197,12 @@ def closing_seq(self): if self.test_producer_process is not None: self.test_producer_process.kill() + # TODO: to normally instead of simple and dirty + self.dbproxy._stop = True + self.tel_listener._stop = True + self.log_listener._stop = True + self.param_listener._stop = True + self.dbproxy.stop_checking() self.tel_listener.stop_checking() self.log_listener.stop_checking()