@@ -162,10 +162,10 @@ export function useWebSocket() {
// socketHand = null;
// }
// getClearTimer();
- if (socketHand) {
- socketHand.close();
- socketHand = null;
- }
+ // if (socketHand) {
+ // socketHand.close();
+ // socketHand = null;
+ // }
});
return { handWs, sendMessage, startLogin, startDevice, startHand, stateHand, closeHand };