Correctly record unloaded media.

This commit is contained in:
Dermot Duffy
2022-09-03 15:30:38 -07:00
parent 429ea80db1
commit 24e59dfe4d
5 changed files with 36 additions and 6 deletions
+1
View File
@@ -17,6 +17,7 @@ export class CachedValueController<T> implements ReactiveController {
* Remove the controller for the host.
*/
public removeController(): void {
this.stopTimer();
this._host.removeController(this);
}