There's a unit test for cleanup on disconnect; add an E2E that disconnects while the dashboard is loading and asserts no stale data / no crash.
There's a unit test for cleanup on disconnect; add an E2E that disconnects while the dashboard is loading and asserts no stale data / no crash.