From 21cf1be32611c173bbba8670d9fa2d4d6983e88b Mon Sep 17 00:00:00 2001 From: omicron Date: Thu, 25 Sep 2025 20:53:11 +0200 Subject: [PATCH] Fix crash when zombie processes exist in the psutil result --- d2warehouse/app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d2warehouse/app/main.py b/d2warehouse/app/main.py index 68e2725..9adb262 100644 --- a/d2warehouse/app/main.py +++ b/d2warehouse/app/main.py @@ -82,7 +82,7 @@ def d2_running() -> bool: try: if proc.cmdline()[0].endswith("D2R.exe"): return True - except (IndexError, psutil.AccessDenied): + except (IndexError, psutil.AccessDenied, psutil.ZombieProcess): pass return False