Compare commits
1 commit
cbc59f82fb
...
c3bb283cce
Author | SHA1 | Date | |
---|---|---|---|
c3bb283cce |
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ func (c *Client) Init(info common.CallMethodInfo, opts ...CallOption) (MessageRe
|
||||||
case <-newStreamCh:
|
case <-newStreamCh:
|
||||||
default:
|
default:
|
||||||
cancel()
|
cancel()
|
||||||
|
<-newStreamCh
|
||||||
return nil, context.Canceled
|
return nil, context.Canceled
|
||||||
}
|
}
|
||||||
case <-newStreamCh:
|
case <-newStreamCh:
|
||||||
|
|
Loading…
Add table
Reference in a new issue