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:
Matt Miller
2026-03-20 10:10:59 -07:00
parent aec5449f62
commit b344883871

View File

@@ -307,6 +307,8 @@ onMounted(() => {
})
onBeforeUnmount(() => {
disconnectedAt = null
activeJobCountAtDisconnect = 0
executionStore.unbindExecutionEvents()
})