diff --git a/compiler-plugin/src/main/kotlin/com/google/devtools/ksp/processing/impl/ResolverImpl.kt b/compiler-plugin/src/main/kotlin/com/google/devtools/ksp/processing/impl/ResolverImpl.kt index 25e43c1063..54a839dbec 100644 --- a/compiler-plugin/src/main/kotlin/com/google/devtools/ksp/processing/impl/ResolverImpl.kt +++ b/compiler-plugin/src/main/kotlin/com/google/devtools/ksp/processing/impl/ResolverImpl.kt @@ -201,8 +201,10 @@ class ResolverImpl( // Mitigation for processors with memory leaks // https://github.com/google/ksp/issues/1063 + // https://github.com/google/ksp/issues/1653 fun tearDown() { KSObjectCacheManager.clear() + com.google.devtools.ksp.KSObjectCacheManager.clear() instance = null }