mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[GH-ISSUE #1684] [Bug]: 自从0.5.x版本后,软件就无法正常关闭,会残留许多进程 #507
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#507
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mzly1212 on GitHub (Apr 7, 2026).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1684
App Version
。。
Expected Behavior
。。
Actual Behavior
。。。
Steps to Reproduce
经过我的测试,在0.4.x版本是不存在这个问题的
Debug Logs
Browser Logs
No response
Settings JSON
No response
Other
No response
┆Issue is synchronized with this Notion page by Unito
@dosubot[bot] commented on GitHub (Apr 7, 2026):
这是一个已知的 bug,在 Issue #1595 中有详细追踪。从 0.5.x 版本开始,Windows 上关闭应用后会残留 Python 进程(运行
main.py --port 8190),每个进程占用约 265MB 内存和 GPU 显存,反复开关后会不断累积 [1]。根本原因:
before-quit处理程序的 10 秒 SIGTERM 超时在 Windows 上不够用,加上用于 GPU 检测的 PowerShell 子进程可能挂起,导致子进程树未被正确终止 [1]。临时解决方法:关闭应用后,通过任务管理器手动结束残留的 Python 进程,或在命令行执行
taskkill /F /PID <pid>[1]。你可以在 #1595 中跟进修复进展。
To reply, just mention @dosu.
Docs are dead. Just use Dosu.
@mzly1212 commented on GitHub (Apr 7, 2026):
由于这些进程的存在,再次打开comfyui desktop时,无法回到上次退出时的状态(包括工作流、自定义节点的配置)