We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
能否添加进bot.close()里
bot.close()
The text was updated successfully, but these errors were encountered:
经研究, 这个问题的真正原因是名为 "BotOfflineEventBroadcaster" 的 StateChangedObserver (1) 在监听到 OK -> CLOSED 变化时尝试调用 EventDispatcherImpl#broadcastAsync (2) 广播 BotOfflineEvent.Active, 但由于 EventDispatcher 的 CoroutineScope 已经关闭, job 不会启动.
StateChangedObserver
EventDispatcherImpl#broadcastAsync
BotOfflineEvent.Active
EventDispatcher
CoroutineScope
References:
Sorry, something went wrong.
b52783d
Fix BotOfflineEvent.Active not broadcast on bot.close, fix mamoe#…
bot.close
baf6456
…1717
Successfully merging a pull request may close this issue.
能否添加进
bot.close()
里The text was updated successfully, but these errors were encountered: