This commit is contained in:
crusader 2017-11-01 17:03:17 +09:00
parent 0464cbccb3
commit 74ba963ea9

View File

@ -166,6 +166,7 @@ func retainClientRequest(method string, params interface{}, id interface{}) *cli
cr = v.(*clientRequest) cr = v.(*clientRequest)
} }
cr.Version = Version
cr.Method = method cr.Method = method
cr.Params = params cr.Params = params
cr.ID = id cr.ID = id
@ -174,6 +175,7 @@ func retainClientRequest(method string, params interface{}, id interface{}) *cli
} }
func releaseClientRequest(cr *clientRequest) { func releaseClientRequest(cr *clientRequest) {
cr.Version = ""
cr.Method = "" cr.Method = ""
cr.Params = nil cr.Params = nil
cr.ID = nil cr.ID = nil