diff --git a/js/common/model/CountingObject.ts b/js/common/model/CountingObject.ts index 5405b2f..401f70c 100644 --- a/js/common/model/CountingObject.ts +++ b/js/common/model/CountingObject.ts @@ -295,6 +295,16 @@ class CountingObject { return result; } + + public dispose(): void { + this.numberValueProperty.dispose(); + this.positionProperty.dispose(); + this.userControlledProperty.dispose(); + this.scaleProperty.dispose(); + this.handleOpacityProperty.dispose(); + this.includeInSumProperty.dispose(); + } + } countingCommon.register( 'CountingObject', CountingObject );