mirror of
https://github.com/zhaojh329/rttys.git
synced 2026-02-27 09:53:21 +08:00
ui: This WebSocket should be closed on unmounted
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
@@ -356,6 +356,9 @@ export default {
|
||||
this.dispose()
|
||||
if (this.term)
|
||||
this.term.dispose()
|
||||
|
||||
if (this.socket)
|
||||
this.socket.close()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user