Merge pull request #2171 from Squidly271/patch-77

Fix: Prevent spurious console error when leaving Main tab
This commit is contained in:
tom mortensen
2025-04-25 10:10:50 -07:00
committed by GitHub

View File

@@ -466,11 +466,11 @@ function formatWarning(val) {
window.onunload = function(){
<?if (_var($var,'fsState')=='Started'):?>
mymonitor.stop();
devices.stop();
try {mymonitor.stop();} catch(e) {}
try {devices.stop();} catch(e) {}
<?endif;?>
<?if ($spot==0):?>
paritymonitor.stop();
try {paritymonitor.stop();} catch(e) {}
<?endif;?>
}
</script>