Skip to content

Commit

Permalink
fix ticker leak
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Popovnin committed Jul 18, 2023
1 parent c73d585 commit 3d6e453
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ func (c *Cache) Close() {
close(c.stop)
close(c.setBuf)
c.policy.Close()
c.cleanupTicker.Stop()
c.isClosed = true
}

Expand Down

0 comments on commit 3d6e453

Please sign in to comment.