mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-20 16:17:03 +08:00
Add execution_end message
This commit is contained in:
parent
b071fff999
commit
535cb42d4c
@ -399,6 +399,9 @@ class PromptExecutor:
|
|||||||
if self.success is not True:
|
if self.success is not True:
|
||||||
self.handle_execution_error(prompt_id, prompt, current_outputs, executed, error, ex)
|
self.handle_execution_error(prompt_id, prompt, current_outputs, executed, error, ex)
|
||||||
break
|
break
|
||||||
|
else:
|
||||||
|
# Only execute when while ends without break
|
||||||
|
self.add_message("execution_end", { "prompt_id": prompt_id }, broadcast=False)
|
||||||
|
|
||||||
for x in executed:
|
for x in executed:
|
||||||
self.old_prompt[x] = copy.deepcopy(prompt[x])
|
self.old_prompt[x] = copy.deepcopy(prompt[x])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user