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 neetopia committed Dec 14, 2023
1 parent 0eb6f4c commit 9e893aa
Showing 1 changed file with 1 addition and 0 deletions.
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 9e893aa

Please sign in to comment.