Skip to content

Commit

Permalink
fixed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TeodorTaushanov committed Jun 11, 2021
1 parent 955d0be commit 53c5d06
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/main/src/BusyIndicator.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const metadata = {
},

/**
* Defines if the control is currently in busy state.
* Defines if the component is currently in busy state.
* @private
*/
_isBusy: {
Expand Down Expand Up @@ -165,6 +165,11 @@ class BusyIndicator extends UI5Element {
}

onExitDOM() {
if (this._busyTimeoutId) {
clearTimeout(this._busyTimeoutId);
delete this._busyTimeoutId;
}

this.removeEventListener("keydown", this._keydownHandler, true);
this.removeEventListener("keyup", this._preventEventHandler, true);
}
Expand Down

0 comments on commit 53c5d06

Please sign in to comment.