Skip to content
New issue

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

修复在Android系统运行时,被杀后台时抛出的 InterruptedException 导致崩溃 #2474

Merged
merged 4 commits into from
Mar 1, 2023

Conversation

zhaodice
Copy link
Contributor

@zhaodice zhaodice commented Feb 5, 2023

复现过程:

挂后台时在看抖音短视频才会出现,疑似是内存不足被安卓杀后台,同时触发 InterruptedException 未catch

错误日志(OCR转文字):

java.lang.InterruptedException
at kotlinx.coroutines. BuildersKt__ BuildersKt.runBlocking(SourceFile:167)
at kotlinx.coroutines.BuildersKt.runBlocking(UnknownSource:0)
at kotlinx.coroutines.BuildersKt_.BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at net.mamoe.mirai.console.MiraiConsolelmplementation$Companion$1.invoke(Unknown Source:15)
at net.mamoe.mirai.console.MiraiConsolelmplementation$Companion$1.invoke(Unknown Source:0)

错误日志(截图):
QQ图片20230205150100

其实我也不确定是不是这里有问题,如果找错了非常抱歉QAQ

@Him188 Him188 requested a review from Karlatemp February 7, 2023 23:26
@Him188 Him188 added t:problem 类型: 不容易归类为特性或 bug 的综合问题 s:console 子系统: mirai-console labels Feb 7, 2023
@zhaodice zhaodice requested review from Him188 and removed request for Karlatemp March 1, 2023 02:56
@Him188 Him188 added this to the 2.15.0-RC milestone Mar 1, 2023
@Him188 Him188 merged commit cb78ed3 into mamoe:dev Mar 1, 2023
@Him188 Him188 modified the milestones: 2.15.0-RC, 2.15.0-M1 Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s:console 子系统: mirai-console t:problem 类型: 不容易归类为特性或 bug 的综合问题
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants