Clean JavaClassesTracker and LookupTracker on call RetryWithAdditionalRoots
#KT-38576 Fixed
This commit is contained in:
committed by
Space
parent
62707c9a89
commit
df017ea187
@@ -55,6 +55,10 @@ class RemoteLookupTrackerClient(
|
||||
lookups.getOrPut(filePath, ::THashMap).getOrPut(internedSymbolFqName, ::THashSet).add(objectToPut)
|
||||
}
|
||||
|
||||
override fun clear() {
|
||||
lookups.clear()
|
||||
}
|
||||
|
||||
init {
|
||||
eventManager.onCompilationFinished { flush() }
|
||||
}
|
||||
|
||||
+4
@@ -36,6 +36,10 @@ class RemoteLookupTrackerClient(
|
||||
lookups.add(LookupInfo(internedFilePath, position, internedScopeFqName, scopeKind, internedName))
|
||||
}
|
||||
|
||||
override fun clear() {
|
||||
lookups.clear()
|
||||
}
|
||||
|
||||
init {
|
||||
runBlocking {
|
||||
eventManager.onCompilationFinished { flush() }
|
||||
|
||||
Reference in New Issue
Block a user