mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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:
committed by
Paul O’Shannessy
parent
a3c0d68af9
commit
32cadeacdb
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user