mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[kotlin] missed read action
KTIJ-29889 GitOrigin-RevId: f59ca7dfbd193e0a7727994b3d6def633a99d951
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2eaf22b89a
commit
c176f726bf
@@ -76,7 +76,7 @@ private fun processInheritorsDelegatingCallToSpecifiedConstructor(
|
||||
constructorCallComparator: KotlinSearchUsagesSupport.ConstructorCallHandle,
|
||||
process: (KtCallElement) -> Boolean
|
||||
): Boolean {
|
||||
return KotlinFindUsagesSupport.searchInheritors(klass, scope.restrictByFileType(KotlinFileType.INSTANCE), false).all {
|
||||
return runReadAction { KotlinFindUsagesSupport.searchInheritors(klass, scope.restrictByFileType(KotlinFileType.INSTANCE), false) }.all {
|
||||
runReadAction {
|
||||
val unwrapped = it.takeIf { it.isValid }?.unwrapped
|
||||
if (unwrapped is KtClass)
|
||||
|
||||
Reference in New Issue
Block a user