Merge branch 'smittix:main' into main

This commit is contained in:
Andrei Stefan
2026-02-26 10:51:22 +02:00
committed by GitHub
5 changed files with 66 additions and 23 deletions
+8 -1
View File
@@ -107,7 +107,14 @@ var MorseMode = (function () {
disconnectSSE();
stopScope();
})
.catch(function () {});
.catch(function (err) {
console.error('Morse stop request failed:', err);
// Reset UI regardless so the user isn't stuck
state.running = false;
updateUI(false);
disconnectSSE();
stopScope();
});
}
// ---- SSE ----