Fix not to return error event of context in streaming
This commit is contained in:
parent
a0466b7cc4
commit
f0eb7d29c4
2 changed files with 0 additions and 2 deletions
|
@ -105,7 +105,6 @@ func (c *Client) streaming(ctx context.Context, p string, params url.Values) (ch
|
|||
for {
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
q <- &ErrorEvent{ctx.Err()}
|
||||
return
|
||||
default:
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue