File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
idea/src/org/jetbrains/kotlin/idea/configuration/ui Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ package org.jetbrains.kotlin.idea.configuration.ui
19
19
import com.intellij.ProjectTopics
20
20
import com.intellij.notification.NotificationDisplayType
21
21
import com.intellij.notification.NotificationsConfiguration
22
+ import com.intellij.openapi.application.ApplicationManager
22
23
import com.intellij.openapi.components.AbstractProjectComponent
23
24
import com.intellij.openapi.project.DumbService
24
25
import com.intellij.openapi.project.Project
@@ -56,9 +57,12 @@ class KotlinConfigurationCheckerComponent(project: Project) : AbstractProjectCom
56
57
}
57
58
58
59
if (ConfigureKotlinNotificationManager .getVisibleNotifications(project).isNotEmpty()) {
59
- DumbService .getInstance(myProject).smartInvokeLater {
60
+ ApplicationManager .getApplication().executeOnPooledThread {
61
+ DumbService .getInstance(myProject).waitForSmartMode()
60
62
if (getModulesWithKotlinFiles(project).all(::isModuleConfigured)) {
61
- ConfigureKotlinNotificationManager .expireOldNotifications(project)
63
+ ApplicationManager .getApplication().invokeLater {
64
+ ConfigureKotlinNotificationManager .expireOldNotifications(project)
65
+ }
62
66
}
63
67
}
64
68
}
You can’t perform that action at this time.
0 commit comments