Skip to content

Commit

Permalink
DEV: prevents _lastKeyTimeout to leak after component lifecycle (#14194)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjaffeux committed Aug 31, 2021
1 parent 49b2bb2 commit 499c69c
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -213,6 +213,8 @@ export default Component.extend(KeyEnterEscape, {
if (this._visualViewportResizing()) {
window.visualViewport.removeEventListener("resize", this.viewportResize);
}

cancel(this._lastKeyTimeout);
},

click() {
Expand Down

0 comments on commit 499c69c

Please sign in to comment.