mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 22:37:32 +00:00
Fix old graph ID kept when configuring new graph (#798)
Prevents ID leakage when using default `LGraph.configure()` settings.
This commit is contained in:
@@ -237,6 +237,9 @@ export class LGraph implements LinkNetwork, Serialisable<SerialisableGraph> {
|
||||
this.stop()
|
||||
this.status = LGraph.STATUS_STOPPED
|
||||
|
||||
this.id = zeroUuid
|
||||
this.revision = 0
|
||||
|
||||
this.state = {
|
||||
lastGroupId: 0,
|
||||
lastNodeId: 0,
|
||||
|
||||
Reference in New Issue
Block a user