cancelAnimationFrame

This commit is contained in:
Niels Lyngsø
2024-04-10 22:29:18 +02:00
parent e30a1891d3
commit 0050b071f7

View File

@@ -186,6 +186,7 @@ export abstract class UmbBaseExtensionsInitializer<
hostDisconnected(): void {
super.hostDisconnected();
if (this.#changeDebounce) {
cancelAnimationFrame(this.#changeDebounce);
this.#notifyChange();
}
}