Remove comment about PooledClass destructors being optional (#6560)

They are no longer optional since #4720
(cherry picked from commit 752e1595fc)
This commit is contained in:
Esteban
2016-06-26 17:52:12 -03:00
committed by Paul O’Shannessy
parent a3c0d68af9
commit 32cadeacdb
+1 -1
View File
@@ -94,7 +94,7 @@ var DEFAULT_POOLER = oneArgumentPooler;
* Augments `CopyConstructor` to be a poolable class, augmenting only the class
* itself (statically) not adding any prototypical fields. Any CopyConstructor
* you give this may have a `poolSize` property, and will look for a
* prototypical `destructor` on instances (optional).
* prototypical `destructor` on instances.
*
* @param {Function} CopyConstructor Constructor that can be used to reset.
* @param {Function} pooler Customizable pooler.