Fix console not stopped when plugin failed to load

This commit is contained in:
Karlatemp
2023-01-19 00:03:27 +08:00
parent c468570ee1
commit 68e1cc45b3

View File

@@ -209,6 +209,8 @@ internal abstract class JvmPluginInternal(
pluginStatus.value = PluginStatus.CRASHED_LOAD_ERROR
cancel(CancellationException("Exception while loading plugin", e))
throw e
}
}