diff --git a/idea/idea-core/src/org/jetbrains/kotlin/idea/core/script/dependencies/AsyncScriptDependenciesLoader.kt b/idea/idea-core/src/org/jetbrains/kotlin/idea/core/script/dependencies/AsyncScriptDependenciesLoader.kt index 4893ef1d213..0a9253bc96d 100644 --- a/idea/idea-core/src/org/jetbrains/kotlin/idea/core/script/dependencies/AsyncScriptDependenciesLoader.kt +++ b/idea/idea-core/src/org/jetbrains/kotlin/idea/core/script/dependencies/AsyncScriptDependenciesLoader.kt @@ -52,8 +52,7 @@ class AsyncScriptDependenciesLoader internal constructor(project: Project) : Scr if (notifyRootChange) return false if (backgroundTasksQueue == null) { - submitMakeRootsChange() - return true + return submitMakeRootsChange() } notifyRootChange = true