diff --git a/ui/opensnitch/dialogs/prompt.py b/ui/opensnitch/dialogs/prompt.py index 2485a95988..47bce1e21b 100644 --- a/ui/opensnitch/dialogs/prompt.py +++ b/ui/opensnitch/dialogs/prompt.py @@ -123,8 +123,10 @@ def promptUser(self, connection, is_local, peer): def _timeout_worker(self): while self._tick > 0 and self._done.is_set() is False: t = threading.currentThread() + # stop only stops the coundtdown, not the thread itself. if getattr(t, "stop", True): self._tick = int(self._cfg.getSettings("global/default_timeout")) + time.sleep(1) continue self._tick -= 1