mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-10 13:32:36 +08:00
object storage application fix
This commit is contained in:
parent
5372c5e8b5
commit
4c37e6f112
@ -457,17 +457,17 @@ class PromptExecutor:
|
|||||||
d = self.outputs.pop(o)
|
d = self.outputs.pop(o)
|
||||||
del d
|
del d
|
||||||
|
|
||||||
# Next, remove the subsequent outputs since they will not be executed
|
to_delete = []
|
||||||
to_delete = []
|
for o in self.object_storage:
|
||||||
for o in self.outputs:
|
if o[0] not in prompt:
|
||||||
if (o not in current_outputs) and (o not in executed):
|
to_delete += [o]
|
||||||
to_delete += [o]
|
else:
|
||||||
if o in self.old_prompt:
|
p = prompt[o[0]]
|
||||||
d = self.old_prompt.pop(o)
|
if o[1] != p['class_type']:
|
||||||
del d
|
to_delete += [o]
|
||||||
for o in to_delete:
|
for o in to_delete:
|
||||||
d = self.outputs.pop(o)
|
d = self.object_storage.pop(o)
|
||||||
del d
|
del d
|
||||||
|
|
||||||
def execute(self, prompt, prompt_id, extra_data={}, execute_outputs=[]):
|
def execute(self, prompt, prompt_id, extra_data={}, execute_outputs=[]):
|
||||||
nodes.interrupt_processing(False)
|
nodes.interrupt_processing(False)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user