Clear all subgraphs when closing

This commit is contained in:
space-nuko
2023-05-21 10:02:52 -05:00
parent 0a4ec725e6
commit affe973375

View File

@@ -134,6 +134,7 @@ export class ComfyWorkflow {
return;
}
canvas.canvas.closeAllSubgraphs();
this.graph.detachCanvas(canvas.canvas);
this.graph.eventBus.removeListener("afterExecute", canvas.canvasHandler)