cacheable-lookup icon indicating copy to clipboard operation
cacheable-lookup copied to clipboard

fix: allow destroying a cache instance

Open nordfjord opened this issue 1 year ago • 1 comments

Currently the cache instance creates an interval under the hood and there's no way to clear this interval. This effectively results in memory leaks when e.g. running a jest test suite where each suite creates a cache instance.

nordfjord avatar Apr 10 '23 18:04 nordfjord