mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
fix: reset disconnect state on GraphView unmount
Prevents stale disconnectedAt timestamps from producing inflated disconnect_duration_ms if the component remounts mid-disconnect.
This commit is contained in:
@@ -307,6 +307,8 @@ onMounted(() => {
|
||||
})
|
||||
|
||||
onBeforeUnmount(() => {
|
||||
disconnectedAt = null
|
||||
activeJobCountAtDisconnect = 0
|
||||
executionStore.unbindExecutionEvents()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user