This commit is contained in:
laodaming 2023-10-11 16:28:39 +08:00
parent aa31451210
commit df1b599e51

View File

@ -25,10 +25,8 @@ func (w *wsConnectItem) newAllocationProcessor(msgType constants.Websocket) allo
case constants.WEBSOCKET_REQUEST_REUSE_LAST_CONNECT:
obj = &reuseConnProcessor{}
default:
}
if obj != nil {
mapAllocationProcessor[msgType] = obj
return nil
}
mapAllocationProcessor[msgType] = obj
return obj
}