Skip to content

Commit

Permalink
Add TODO, see #248
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Oct 27, 2021
1 parent ffe3c29 commit e56b458
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/PhetioDynamicElementContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ class PhetioDynamicElementContainer extends PhetioObject {
* and its usages). This helps catch complicated and obfuscated state bugs in an easy way. After reading this, it
* should go without saying that sim code should NOT set this flag to be true!
* @public - but should not be called directly for PhetioGroup or PhetioCapsule, but can be made public if other subtypes need to.
* TODO: once this file has been converted to TypeScript, this function should be marked as protected, see https://github.com/phetsims/tandem/issues/248#issuecomment-952347257
*/
disposeElement( element, fromStateSetting ) {
element.dispose();
Expand Down

0 comments on commit e56b458

Please sign in to comment.