diff --git a/packages/vidstack/src/elements/lit/directives/signal.ts b/packages/vidstack/src/elements/lit/directives/signal.ts index 06618609c..8e392e29e 100644 --- a/packages/vidstack/src/elements/lit/directives/signal.ts +++ b/packages/vidstack/src/elements/lit/directives/signal.ts @@ -29,9 +29,9 @@ class SignalDirective extends AsyncDirective { } override disconnected() { + if (!this._isAttr) this.setValue(null); this._stop?.(); this._stop = null; - this.setValue(null); } protected _watch() {