修复linux重启bug

This commit is contained in:
LAOGOU-666
2025-04-10 00:45:02 +08:00
parent 6f077c192f
commit 7ba3265c18
2 changed files with 2 additions and 9 deletions
+1 -8
View File
@@ -138,14 +138,7 @@ class RAMCleanup:
except:
continue
elif system == "Linux":
for process in psutil.process_iter(['pid', 'name']):
try:
if "python" in process.info['name'].lower():
process.send_signal(10)
cleaned_processes += 1
except:
continue
cleaned_processes = 0
if clean_dlls:
try:
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui_memory_cleanup"
description = "A ComfyUI extension that provides nodes for memory cleanup, including VRAM and RAM cleanup functions to optimize ComfyUI performance during long running workflows."
version = "1.1.0"
version = "1.1.1"
dependencies = ["psutil"]
[project.urls]