This commit is contained in:
2025-11-17 22:00:56 +01:00
parent af6ab012dd
commit cc25a22025
2 changed files with 12 additions and 6 deletions

View File

@@ -824,9 +824,7 @@
// Cleanup on page unload
window.addEventListener('beforeunload', () => {
if (eventSource) {
eventSource.close();
}
window.apiClient.disconnectRealtime();
});
// Load device on page load