fix: partially revert e213fbb1

This commit is contained in:
Akash Yadav
2022-12-25 22:51:00 +05:30
parent 691b630a5a
commit a04f4db538
2 changed files with 4 additions and 5 deletions
@@ -120,11 +120,6 @@ open class EditorHandlerActivity : ProjectHandlerActivity(), IEditorHandler {
}
override fun onPause() {
if (isDestroying) {
IDEColorSchemeProvider.destroy()
}
super.onPause()
val current =
@@ -57,6 +57,10 @@ class IDEApplication : BaseApplication() {
.addIndex(LspApiEventsIndex())
.addIndex(LspJavaEventsIndex())
.installDefaultEventBus()
executeAsync {
IDEColorSchemeProvider.init()
}
}
private fun handleCrash(thread: Thread, th: Throwable) {