race condition patch

This commit is contained in:
ltdrdata 2023-05-31 23:26:56 +09:00
parent df09b19360
commit 62150c008d

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