(instance)
| 3657 | }; |
| 3658 | |
| 3659 | var standardReleaser = function (instance) { |
| 3660 | var Klass = this; |
| 3661 | !(instance instanceof Klass) ? "development" !== 'production' ? invariant(false, 'Trying to release an instance into a pool of a different type.') : invariant(false) : void 0; |
| 3662 | instance.destructor(); |
| 3663 | if (Klass.instancePool.length < Klass.poolSize) { |
| 3664 | Klass.instancePool.push(instance); |
| 3665 | } |
| 3666 | }; |
| 3667 | |
| 3668 | var DEFAULT_POOL_SIZE = 10; |
| 3669 | var DEFAULT_POOLER = oneArgumentPooler; |
nothing calls this directly
no test coverage detected
searching dependent graphs…