client/paging: fix unbinding endless pager
This commit is contained in:
parent
2ef63fcc7a
commit
263d4f3626
|
@ -36,6 +36,12 @@ class EndlessPageView {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this._probePageLoad(ctx);
|
this._probePageLoad(ctx);
|
||||||
|
|
||||||
|
views.monitorNodeRemoval(this._pagesHolderNode, () => this._destroy());
|
||||||
|
}
|
||||||
|
|
||||||
|
_destroy() {
|
||||||
|
this._active = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
_probePageLoad(ctx) {
|
_probePageLoad(ctx) {
|
||||||
|
|
Loading…
Reference in New Issue