mirror of
https://github.com/mamoe/mirai.git
synced 2026-08-19 12:43:32 +08:00
Fix console not stopped when plugin failed to load
This commit is contained in:
@@ -209,6 +209,8 @@ internal abstract class JvmPluginInternal(
|
||||
pluginStatus.value = PluginStatus.CRASHED_LOAD_ERROR
|
||||
|
||||
cancel(CancellationException("Exception while loading plugin", e))
|
||||
|
||||
throw e
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user