new ui 9
This commit is contained in:
@@ -824,9 +824,7 @@
|
||||
|
||||
// Cleanup on page unload
|
||||
window.addEventListener('beforeunload', () => {
|
||||
if (eventSource) {
|
||||
eventSource.close();
|
||||
}
|
||||
window.apiClient.disconnectRealtime();
|
||||
});
|
||||
|
||||
// Load device on page load
|
||||
|
||||
Reference in New Issue
Block a user