Skip to content

Commit

Permalink
refactor(esl-media): consistent clear from all manager storages on de…
Browse files Browse the repository at this point in the history
…stroy instance
  • Loading branch information
ala-n authored Feb 19, 2025
1 parent a054374 commit fa6e92a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/esl-media/core/esl-media-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export class ESLMediaManager {

/** Hook for {@link ESLMedia} destroy */
public _onDestroy(media: ESLMedia): void {
this.active.delete(media);
this.autoplayable.delete(media);
}

Expand Down

0 comments on commit fa6e92a

Please sign in to comment.