Skip to content

Commit

Permalink
Remove old objects
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad committed Jun 8, 2023
1 parent 2d1480b commit 3dba5f1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/hls/hls_classes.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,10 @@ shaka.hls.Segment = class {
/** @type {?string} */
this.absoluteUri_ = null;

/** @const {string} */
/** @type {?string} */
this.absoluteMediaPlaylistUri_ = absoluteMediaPlaylistUri;

/** @const {string} */
/** @type {?string} */
this.verbatimSegmentUri_ = verbatimSegmentUri;

/** @type {!Array.<shaka.hls.Tag>} */
Expand All @@ -235,6 +235,8 @@ shaka.hls.Segment = class {
if (!this.absoluteUri_) {
this.absoluteUri_ = shaka.hls.Utils.constructAbsoluteUri(
this.absoluteMediaPlaylistUri_, this.verbatimSegmentUri_);
this.absoluteMediaPlaylistUri_ = null;
this.verbatimSegmentUri_ = null;
}
return this.absoluteUri_;
}
Expand Down

0 comments on commit 3dba5f1

Please sign in to comment.