mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] Don't publish module state mod event while the project is not initialized
#KTIJ-33316 GitOrigin-RevId: f953fb703448e965392667495e4ee48594a5879c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
edc35b8592
commit
596f44795c
+3
-1
@@ -114,7 +114,9 @@ class FirIdeModuleStateModificationService(val project: Project) : Disposable {
|
||||
}
|
||||
|
||||
override fun before(events: List<VFileEvent>) {
|
||||
if (mayBuiltinsHaveChanged(events) || !project.isInitialized) {
|
||||
if (!project.isInitialized) return
|
||||
|
||||
if (mayBuiltinsHaveChanged(events)) {
|
||||
project.publishGlobalModuleStateModificationEvent()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user