Skip to content

Commit

Permalink
fix stackoverflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MrXiaoM committed Sep 2, 2024
1 parent 1625b9c commit de9d0ed
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,9 @@ class Overflow : IMirai, CoroutineScope, LowLevelApiAccessor, OverflowAPI {
injectMiraiConsole()
} catch (ignored: ClassNotFoundException) {
}
OnebotMessages.registerSerializers()
launch {
OnebotMessages.registerSerializers()
}
}

@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
Expand Down

0 comments on commit de9d0ed

Please sign in to comment.