connectiopn fix round 2 4

This commit is contained in:
2026-08-21 23:14:19 +02:00
parent 763be3e7bf
commit 8ddb3ae589
3 changed files with 58 additions and 3 deletions

View File

@ -109,6 +109,8 @@
});
document.getElementById("exit-btn").addEventListener("click", () => {
statusEl.textContent = "Sitzung wird beendet ...";
statusEl.classList.remove("error");
try { client.disconnect(); } catch (_) { /* bereits getrennt */ }
window.close();
// Siehe terminal.js fuer die ausfuehrliche Begruendung: window.close()