diff --git a/packages/commandkit/src/components/ButtonKit.ts b/packages/commandkit/src/components/ButtonKit.ts index 5956c3d..c23bf0e 100644 --- a/packages/commandkit/src/components/ButtonKit.ts +++ b/packages/commandkit/src/components/ButtonKit.ts @@ -151,6 +151,7 @@ export class ButtonKit extends ButtonBuilder { public dispose() { this.#destroyCollector(); + this.#onEndHandler?.(); return this; }