This commit is contained in:
laodaming 2023-08-30 18:02:02 +08:00
parent a9b8df41f7
commit 4ac4f7ee9d

View File

@ -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