mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
fix(refresher): events manager must not be destroyed (part 2)
fixes #10652
This commit is contained in:
@ -503,9 +503,9 @@ export class Refresher {
|
|||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
ngOnDestroy() {
|
ngOnDestroy() {
|
||||||
|
this._setListeners(false);
|
||||||
this._events.destroy();
|
this._events.destroy();
|
||||||
this._gesture.destroy();
|
this._gesture.destroy();
|
||||||
this._setListeners(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user