ing
This commit is contained in:
parent
0464cbccb3
commit
74ba963ea9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user