Skip to content

Commit

Permalink
Clear both KSObjectCacheManager instances
Browse files Browse the repository at this point in the history
#1653
(cherry picked from commit 92d5905)
  • Loading branch information
Bencodes authored and KSP Auto Pick committed Jan 6, 2024
1 parent 47eeac5 commit a01ada6
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 a01ada6

Please sign in to comment.