mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
IJPL-162718 do not load an extension list in read action
(cherry picked from commit de96ad6082f723d14a661b80b0c98b023e384ef9) IJ-CR-147194 GitOrigin-RevId: 48942b3426105cb29e74f22c29659d9a1381908c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
787a5c0e9e
commit
d3d49565b8
@@ -226,8 +226,11 @@ class WorkspaceFileIndexImpl(private val project: Project) : WorkspaceFileIndexE
|
||||
}
|
||||
|
||||
override suspend fun initialize() {
|
||||
readAction {
|
||||
initializeBlocking()
|
||||
if (indexData is EmptyWorkspaceFileIndexData) {
|
||||
val contributors = EP_NAME.extensionList
|
||||
readAction {
|
||||
indexData = WorkspaceFileIndexDataImpl(contributorList = contributors, project = project, parentDisposable = this)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user