DEV: prevents _lastKeyTimeout to leak after component lifecycle (#14194)
This commit is contained in:
parent
49b2bb294e
commit
499c69c827
|
@ -213,6 +213,8 @@ export default Component.extend(KeyEnterEscape, {
|
||||||
if (this._visualViewportResizing()) {
|
if (this._visualViewportResizing()) {
|
||||||
window.visualViewport.removeEventListener("resize", this.viewportResize);
|
window.visualViewport.removeEventListener("resize", this.viewportResize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cancel(this._lastKeyTimeout);
|
||||||
},
|
},
|
||||||
|
|
||||||
click() {
|
click() {
|
||||||
|
|
Loading…
Reference in New Issue