修复linux重启bug
This commit is contained in:
+1
-8
@@ -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
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user