diff --git a/__init__.py b/__init__.py index 568d925..16915c8 100644 --- a/__init__.py +++ b/__init__.py @@ -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: diff --git a/pyproject.toml b/pyproject.toml index b926a41..bec680e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]