ui: This WebSocket should be closed on unmounted

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
Jianhui Zhao
2025-07-19 15:19:17 +08:00
parent cec373b4dd
commit 39e2d8bbb6
+3
View File
@@ -356,6 +356,9 @@ export default {
this.dispose()
if (this.term)
this.term.dispose()
if (this.socket)
this.socket.close()
}
}
</script>