From 4ac4f7ee9d0a2340efbbc382dd4d59e990341723 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Wed, 30 Aug 2023 18:02:02 +0800 Subject: [PATCH] fix --- server/websocket/internal/logic/ws_reuse_last_connect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/websocket/internal/logic/ws_reuse_last_connect.go b/server/websocket/internal/logic/ws_reuse_last_connect.go index 88ee0894..4630e86e 100644 --- a/server/websocket/internal/logic/ws_reuse_last_connect.go +++ b/server/websocket/internal/logic/ws_reuse_last_connect.go @@ -59,7 +59,7 @@ func (r *reuseConnProcessor) allocationMessage(data []byte) { } //重新绑定 r.w.uniqueId = wid - mapConnPool.Store(wid, *r.w) + mapConnPool.Store(wid, r.w) rsp := r.w.respondDataFormat(constants.WEBSOCKET_CONNECT_SUCCESS, wid) r.w.sendToOutChan(rsp) return