This commit is contained in:
Zemledelec 2023-09-15 22:09:20 +04:00
parent 7ef48eedf1
commit 156e7dec7f

View File

@ -1261,8 +1261,9 @@ class Handler {
*/
public destroy() {
this.resizeObserver.disconnect();
this.intersectionObserver.disconnect();
this.resizeObserver?.disconnect();
this.intersectionObserver?.disconnect();
this.stop();
//