From 47894c6cc9d6f29d76c964791196509724061ad6 Mon Sep 17 00:00:00 2001 From: Ilya Kirillov Date: Thu, 7 Jan 2021 14:29:25 +0100 Subject: [PATCH] FIR IDE: invalidate LibraryModificationTracker in memory leak test --- .../frontend/api/symbols/AbstractMemoryLeakInSymbolsTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idea/idea-frontend-fir/tests/org/jetbrains/kotlin/idea/frontend/api/symbols/AbstractMemoryLeakInSymbolsTest.kt b/idea/idea-frontend-fir/tests/org/jetbrains/kotlin/idea/frontend/api/symbols/AbstractMemoryLeakInSymbolsTest.kt index 3519f4e34cd..98fce406e89 100644 --- a/idea/idea-frontend-fir/tests/org/jetbrains/kotlin/idea/frontend/api/symbols/AbstractMemoryLeakInSymbolsTest.kt +++ b/idea/idea-frontend-fir/tests/org/jetbrains/kotlin/idea/frontend/api/symbols/AbstractMemoryLeakInSymbolsTest.kt @@ -65,7 +65,7 @@ abstract class AbstractMemoryLeakInSymbolsTest : KotlinLightCodeInsightFixtureTe @OptIn(InvalidWayOfUsingAnalysisSession::class) private fun invalidateAllCaches(ktFile: KtFile) { (project.service() as KotlinFirOutOfBlockModificationTrackerFactory).incrementModificationsCount() -// project.service().incModificationCount() + project.service().incModificationCount() (project.service() as KtFirAnalysisSessionProvider).clearCaches() executeOnPooledThreadInReadAction { analyze(ktFile) {} } }