[fix]: 修复当用户主动退出后,block依然阻塞 (#206)

This commit is contained in:
多吃点苹果 2023-01-13 20:53:52 +08:00 committed by GitHub
parent 30da2df475
commit fc38bfb401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
bot.go
View File

@ -191,6 +191,7 @@ func (b *Bot) WebInit() error {
// 判断是否继续, 如果不继续则退出
if goon := b.MessageErrorHandler(err); !goon {
b.err = err
b.Exit()
break
}
}