This commit is contained in:
laodaming 2023-08-25 11:26:44 +08:00
parent c9f9f40c6c
commit 413b7c6863

View File

@ -53,6 +53,7 @@ func (w *wsConnectItem) reuseLastConnect(data []byte) {
} }
//重新绑定 //重新绑定
w.uniqueId = wid w.uniqueId = wid
mapConnPool.Store(wid, w)
rsp := w.respondDataFormat(constants.WEBSOCKET_CONNECT_SUCCESS, wid) rsp := w.respondDataFormat(constants.WEBSOCKET_CONNECT_SUCCESS, wid)
w.sendToOutChan(rsp) w.sendToOutChan(rsp)
return return