|
@@ -179,7 +179,8 @@ const getInit = async () => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (e?.cmd == 'terminate_bodyposecontroller') {
|
|
if (e?.cmd == 'terminate_bodyposecontroller') {
|
|
-
|
|
|
|
|
|
+ closeWS();
|
|
|
|
+ getExit();
|
|
}
|
|
}
|
|
if (e?.type == 'disconnect') {
|
|
if (e?.type == 'disconnect') {
|
|
getExit();
|
|
getExit();
|
|
@@ -221,7 +222,7 @@ onMounted(() => {
|
|
});
|
|
});
|
|
|
|
|
|
onBeforeUnmount(() => {
|
|
onBeforeUnmount(() => {
|
|
-
|
|
|
|
|
|
+ closeWS();
|
|
});
|
|
});
|
|
</script>
|
|
</script>
|
|
|
|
|