The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix crash if node is removed mid run
pythongosssss00c1ec498fce
diff --git a/web/scripts/app.js b/web/scripts/app.jsindex 63fc22dad..b29981091 100644--- a/web/scripts/app.js+++ b/web/scripts/app.js@@ -618,7 +618,7 @@ class ComfyApp {api.addEventListener("executed", ({ detail }) => {this.nodeOutputs[detail.node] = detail.output;const node = this.graph.getNodeById(detail.node);- if (node.onExecuted) {+ if (node?.onExecuted) {node.onExecuted(detail.output);}});