From 7ba3265c18f636e8d28bfdffc875f8d3b09634ea Mon Sep 17 00:00:00 2001 From: LAOGOU-666 <441059767@qq.com> Date: Thu, 10 Apr 2025 00:45:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dlinux=E9=87=8D=E5=90=AFbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __init__.py | 9 +-------- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) 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]