Skip to content

Comments

fix: allow destroying a cache instance#78

Open
nordfjord wants to merge 1 commit intoszmarczak:masterfrom
nordfjord:fix/memory-leak
Open

fix: allow destroying a cache instance#78
nordfjord wants to merge 1 commit intoszmarczak:masterfrom
nordfjord:fix/memory-leak

Conversation

@nordfjord
Copy link

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.

@asnawisaharuddin
Copy link

I face the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants