优化内存池

This commit is contained in:
boyce
2020-11-12 20:11:15 +08:00
parent 0d07da1a2b
commit f98f39d470
2 changed files with 9 additions and 2 deletions

View File

@@ -268,7 +268,11 @@ func (server *Server) selfNodeRpcHandlerGo(processor IRpcProcessor,client *Clien
ReleaseCall(pCall)
return
}
pCall.Err = Err
if len(Err) == 0 {
pCall.Err = nil
}else{
pCall.Err = Err
}
pCall.done <- pCall
}
}