ing
This commit is contained in:
parent
ef97f1fcd1
commit
c6be50ff2c
|
@ -255,11 +255,11 @@ func (c *client) rpcWriter(stopChan <-chan struct{}, writerDone chan<- error) {
|
|||
}
|
||||
}
|
||||
|
||||
err = c.ch.GetCodec().Write(c.conn, cs.Method, cs.Args, cs.ID)
|
||||
if nil == cs.DoneChan {
|
||||
releaseCallState(cs)
|
||||
}
|
||||
|
||||
if err = c.ch.GetCodec().Write(c.conn, cs.Method, cs.Args, cs.ID); nil != err {
|
||||
if nil != err {
|
||||
err = fmt.Errorf("Client: Cannot send request to wire: [%s]", err)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user