all repos — telegram-bot-api @ b401ef076d1ab044a2253284532a2b1456586609

Golang bindings for the Telegram Bot API

Merge pull request #310 from txgruppi/close-updates-chan-on-stop

Close updates chan on stop
Kirill Zhuharev zhuharev@users.noreply.github.com
Thu, 19 Mar 2020 07:23:49 +0300
commit

b401ef076d1ab044a2253284532a2b1456586609

parent

afa296aeacfa590b411319acebbd4c4e8d72bff1

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

jump to
M bot.gobot.go

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

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