fix(image-list): own job lifecycle and preserve worker preparation

This commit is contained in:
Robert Wojciechowski
2026-10-11 21:20:22 +00:00
parent 8e0ac3befe
commit a34969e6f3
12 changed files with 847 additions and 64 deletions
+3
View File
@@ -24,6 +24,9 @@ def initialize():
ensure_distributed_state(server.PromptServer.instance)
ensure_tile_jobs_initialized()
from ..image_list import runtime as image_list_runtime
from ..image_list.lifecycle import install_lifecycle
install_lifecycle(server.PromptServer.instance, image_list_runtime)
if not os.environ.get('COMFYUI_IS_WORKER'):
atexit.register(sync_cleanup)