diff --git a/tns-core-modules/ui/button/button.ios.ts b/tns-core-modules/ui/button/button.ios.ts index 3dd18d0fb..9954b1b85 100644 --- a/tns-core-modules/ui/button/button.ios.ts +++ b/tns-core-modules/ui/button/button.ios.ts @@ -69,6 +69,13 @@ export class Button extends common.Button { this.style._updateTextTransform(); } + public onUnloaded() { + super.onUnloaded(); + if (this._stateChangedHandler) { + this._stateChangedHandler.stop(); + } + } + @PseudoClassHandler("normal", "highlighted") _updateHandler(subscribe: boolean) { if (subscribe) {