commit e60ad17

Hubert Hirtz  ·  2021-10-18 19:29:59 +0000 UTC
parent 97f4218
Don't forget to close outgoing chan on debug
1 files changed,  +1, -0
M app.go
M app.go
+1, -0
1@@ -299,6 +299,7 @@ func (app *App) debugOutputMessages(out chan<- irc.Message) chan<- irc.Message {
2 			})
3 			out <- msg
4 		}
5+		close(out)
6 	}()
7 	return debugOut
8 }