race condition patch

This commit is contained in:
ltdrdata 2023-05-31 23:26:56 +09:00
parent 1f34bf08f0
commit 8e8d6070f2
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}