@samitouri / QOS-React / commits / 752e1595fc

Remove comment about PooledClass destructors being optional (#6560)

They are no longer optional since #4720

Esteban committed Jun 26, 2016 at 17:52 UTC 752e1595fc630b3f632d1535c87d1e6b70c1009c
1 file changed +1 -1
src/shared/utils/PooledClass.js
+1 -1
@@ -94,7 +94,7 @@ var DEFAULT_POOLER = oneArgumentPooler;
94 * Augments `CopyConstructor` to be a poolable class, augmenting only the class
95 * itself (statically) not adding any prototypical fields. Any CopyConstructor
96 * you give this may have a `poolSize` property, and will look for a
97 - * prototypical `destructor` on instances (optional).
97 + * prototypical `destructor` on instances.
98 *
99 * @param {Function} CopyConstructor Constructor that can be used to reset.
100 * @param {Function} pooler Customizable pooler.