Skip to content

Commit

Permalink
Clear KSObjectCacheManager during resolver tear down
Browse files Browse the repository at this point in the history
(cherry picked from commit f4ca61a)
  • Loading branch information
Bencodes authored and KSP Auto Pick committed Dec 14, 2023
1 parent 0a84e7b commit 16b8b61
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ class ResolverImpl(
// Mitigation for processors with memory leaks
// https://github.com/google/ksp/issues/1063
fun tearDown() {
KSObjectCacheManager.clear()
instance = null
}

Expand Down

0 comments on commit 16b8b61

Please sign in to comment.