This commit is contained in:
laodaming 2023-08-25 11:28:36 +08:00
parent 348f10413b
commit 66532c0d98

View File

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