Skip to content

Commit

Permalink
Clear both KSObjectCacheManager instances
Browse files Browse the repository at this point in the history
  • Loading branch information
Bencodes authored and neetopia committed Jan 6, 2024
1 parent 5f517bc commit 92d5905
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 92d5905

Please sign in to comment.