(instance)
| 4143 | }; |
| 4144 | |
| 4145 | var standardReleaser = function (instance) { |
| 4146 | var Klass = this; |
| 4147 | !(instance instanceof Klass) ? true ? invariant(false, 'Trying to release an instance into a pool of a different type.') : _prodInvariant('25') : void 0; |
| 4148 | instance.destructor(); |
| 4149 | if (Klass.instancePool.length < Klass.poolSize) { |
| 4150 | Klass.instancePool.push(instance); |
| 4151 | } |
| 4152 | }; |
| 4153 | |
| 4154 | var DEFAULT_POOL_SIZE = 10; |
| 4155 | var DEFAULT_POOLER = oneArgumentPooler; |
nothing calls this directly
no test coverage detected