Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

race condition patch

ltdrdata8e8d6070f2e8
diff --git a/web/scripts/app.js b/web/scripts/app.js
index 9ecad8489..8a9c7ca49 100644
--- a/web/scripts/app.js
+++ b/web/scripts/app.js
@@ -1010,7 +1010,7 @@ export class ComfyApp {
const app = this;
// Load node definitions from the backend
const defs = await api.getNodeDefs();
- this.registerNodesFromDefs(defs);
+ await this.registerNodesFromDefs(defs);
await this.#invokeExtensionsAsync("registerCustomNodes");
}