Comparing version 1.2.1 to 1.2.2
@@ -14,3 +14,3 @@ const TOS = require('time-ordered-set') | ||
bump () { | ||
if (!this.refs) return | ||
if (this.refs > 0) return | ||
this.pool.gcable.add(this) | ||
@@ -17,0 +17,0 @@ this.pool._gcMaybe() |
{ | ||
"name": "refpool", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Pool of references that gc the least recently unref'ed ones when it reaches a max size", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5506