clean state when loading another workflow

This commit is contained in:
Farid Safi
2023-03-28 19:45:17 +02:00
parent 31dd6c0531
commit 393084877c
2 changed files with 16 additions and 2 deletions

View File

@@ -903,6 +903,13 @@ class ComfyApp {
}
}
}
/**
* Clean current state
*/
clean() {
this.nodeOutputs = {};
}
}
export const app = new ComfyApp();