fix(all): memory leaks

fixes #10459
fixes #10416
fixes #10286
This commit is contained in:
Manu Mtz.-Almeida
2017-02-23 20:55:30 +01:00
parent be0b6a8872
commit 8d9f374065
13 changed files with 25 additions and 21 deletions

View File

@@ -516,7 +516,7 @@ export class Menu {
this.isOpen = isOpen;
this._isAnimating = false;
this._events.destroy();
this._events.unlistenAll();
if (isOpen) {
// Disable swipe to go back gesture
this._gestureBlocker.block();