all repos — telegram-bot-api @ 706e70933da04f25dbf2985bc5da4b3002319760

Golang bindings for the Telegram Bot API

Close updates chan on stop
Tarcisio Gruppi txgruppi@gmail.com
Sat, 22 Feb 2020 19:13:34 -0300
commit

706e70933da04f25dbf2985bc5da4b3002319760

parent

aa124ef1e84ecc14654ad242f3cf3bd2b0d5956c

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M bot.gobot.go

@@ -495,6 +495,7 @@ go func() {

for { select { case <-bot.shutdownChannel: + close(ch) return default: }