mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 16:44:46 +01:00
Fixed prompt dialog countdown
This commit is contained in:
parent
aa05ceb60b
commit
44c2b6b90b
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ class PromptDialog(QtWidgets.QDialog, uic.loadUiType(DIALOG_UI_PATH)[0]):
|
|||
with self._lock:
|
||||
# reset state
|
||||
self._tick = self._cfg.default_timeout
|
||||
if self._tick_thread != None:
|
||||
self._tick_thread.join()
|
||||
self._tick_thread = threading.Thread(target=self._timeout_worker)
|
||||
self._rule = None
|
||||
self._local = is_local
|
||||
|
|
Loading…
Add table
Reference in a new issue