Scripts, AsyncScripDependenciesLoader: notifyRootsChanged should return false in case when no dependencies are loaded

This commit is contained in:
Natalia Selezneva
2019-06-18 10:43:41 +03:00
parent be82979a49
commit 2fce671d0d
@@ -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