mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-28 02:02:08 +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.stop()
|
||||||
this.status = LGraph.STATUS_STOPPED
|
this.status = LGraph.STATUS_STOPPED
|
||||||
|
|
||||||
|
this.id = zeroUuid
|
||||||
|
this.revision = 0
|
||||||
|
|
||||||
this.state = {
|
this.state = {
|
||||||
lastGroupId: 0,
|
lastGroupId: 0,
|
||||||
lastNodeId: 0,
|
lastNodeId: 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user