Skip to content

Commit

Permalink
Mark PhetioDynamicElementContainer.disposeElement as public, see #248
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Oct 14, 2021
1 parent 8d9c703 commit d99e9fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/PhetioDynamicElementContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ class PhetioDynamicElementContainer extends PhetioObject {
* the listener is changed because of a force that isn't the PhET-iO state engine (see Sim.isSettingPhetioStateProperty
* 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!
* @protected - should not be called directly for PhetioGroup or PhetioCapsule, but can be made public if other subtypes need to.
* @public - but should not be called directly for PhetioGroup or PhetioCapsule, but can be made public if other subtypes need to.
*/
disposeElement( element, fromStateSetting ) {
element.dispose();
Expand Down

0 comments on commit d99e9fb

Please sign in to comment.