Telegram: close updates channel on restart
Also removed some references to email.
This commit is contained in:
@@ -174,6 +174,7 @@ func (t *TelegramDaemon) run() {
|
||||
}
|
||||
|
||||
case <-t.ShutdownChannel:
|
||||
t.bot.StopReceivingUpdates()
|
||||
t.ShutdownChannel <- "Down"
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user