Should eliminate a error in the Firefox console regarding the connection being interrupted while the page was loading.tags/v1.12.0-rc2
@@ -52,6 +52,9 @@ export function initNotificationCount() { | |||
source.close(); | |||
window.location.href = AppSubUrl; | |||
}); | |||
window.addEventListener('beforeunload', () => { | |||
source.close(); | |||
}); | |||
return; | |||
} | |||