diff --git a/cmd/mstdn/cmd_stream.go b/cmd/mstdn/cmd_stream.go index ee07ec1..f2ca59c 100644 --- a/cmd/mstdn/cmd_stream.go +++ b/cmd/mstdn/cmd_stream.go @@ -79,7 +79,6 @@ func cmdStream(c *cli.Context) error { } go func() { <-sc - close(q) cancel() }() diff --git a/streaming.go b/streaming.go index 060c9e7..0d3e559 100644 --- a/streaming.go +++ b/streaming.go @@ -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: }