fix
This commit is contained in:
parent
aa31451210
commit
df1b599e51
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user