From aa481f415d2447f12bf0136bf6bf17463f507620 Mon Sep 17 00:00:00 2001 From: PYDT <85057800+87owo@users.noreply.github.com> Date: Mon, 11 Sep 2023 19:47:01 +0800 Subject: [PATCH] Add files via upload --- PYAS.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PYAS.py b/PYAS.py index 49a857b..0fe8214 100644 --- a/PYAS.py +++ b/PYAS.py @@ -1182,7 +1182,7 @@ class MainWindow_Controller(QtWidgets.QMainWindow): for p in psutil.process_iter(): if p.pid not in existing_processes: existing_processes.add(p.pid) - while True: + while proc_protect: time.sleep(0.1) for p in psutil.process_iter(): try: