Skip to content

Commit

Permalink
Merge pull request #31 from agisboye/master
Browse files Browse the repository at this point in the history
Fix tap handler being called more than once
  • Loading branch information
triniwiz authored Apr 7, 2017
2 parents 0e5334d + 955ca7c commit f579b54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions checkbox.ios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ export class CheckBox extends Button implements CheckBoxInterface {

public onUnloaded() {
this._iosCheckbox.delegate = null;
this.removeEventListener("tap");
super.onUnloaded();
}

Expand Down

0 comments on commit f579b54

Please sign in to comment.