diff options
author | Xiaochao Ma <maxiaochao@inspur.com> | 2022-03-08 15:13:00 +0300 |
---|---|---|
committer | Xiaochao Ma <maxiaochao@inspur.com> | 2022-03-09 03:48:48 +0300 |
commit | 78372d6345cf5f1e04d6a8d56c416a7aec70b998 (patch) | |
tree | 273eb1624c271750d5936b089ea9d3f4a7f358cd /src/store/modules/Operations/FactoryResetStore.js | |
parent | 19b2cfba7323b8327266063411e4fae4c966b17e (diff) | |
download | webui-vue-78372d6345cf5f1e04d6a8d56c416a7aec70b998.tar.xz |
SOL: fix socket close exception
When the sol page is opened, a socket is opened;
when the sol page is closed, the socket is not closed
(console print is also exception).
It only closes when you log out.
Fix this condition to 'close socket when SOL page is exited'.
test:
Enter the SOL page-->console print'websocket console0/ opened'
-->close the SOL page
-->console print'websocket console0/ closed. code: 1000 reason: '
Signed-off-by: Xiaochao Ma <maxiaochao@inspur.com>
Change-Id: I0f406c2085aec303d6e5139d57b31ed6f244a155
Diffstat (limited to 'src/store/modules/Operations/FactoryResetStore.js')
0 files changed, 0 insertions, 0 deletions