From c88e2df363e5c9bade8322b6020e4cc100b0d208 Mon Sep 17 00:00:00 2001 From: 178inaba <178inaba@users.noreply.github.com> Date: Sun, 30 Apr 2017 13:48:08 +0900 Subject: [PATCH] Remove channel close of mstdn stream command --- cmd/mstdn/cmd_stream.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/mstdn/cmd_stream.go b/cmd/mstdn/cmd_stream.go index dac8865..f2ca59c 100644 --- a/cmd/mstdn/cmd_stream.go +++ b/cmd/mstdn/cmd_stream.go @@ -80,7 +80,6 @@ func cmdStream(c *cli.Context) error { go func() { <-sc cancel() - close(q) }() c.App.Metadata["signal"] = sc