forked from isaacs/node-lru-cache
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
call "dispose()" on objects that fall off the cache because they're t…
…oo big This case could be detected manually by checking for a `false` return value, but it seems to me that there'd be no case where you wouldn't want to call the "dispose" function when this happens.
- Loading branch information
1 parent
bae577e
commit cb30000
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters