set user to nil while stopAsyncCALL

This commit is contained in:
ivy1996-encode 2021-03-05 14:52:09 +08:00
parent 9bd308579a
commit 8edc6417d5

1
bot.go
View File

@ -146,6 +146,7 @@ func (b *Bot) asyncCall() error {
func (b *Bot) stopAsyncCALL(err error) {
b.exit <- true
b.err = err
b.self = nil
}
// 获取新的消息