Files
shaka-player/lib/media
Joey Parrish e018aaaaba Fix potential memory leak in SegmentIndex
SegmentIndex has had a destroy() method for a long time, but it has
never been called.  Now that SegmentIndex has a timer which adds new
references for DASH SegmentTemplate live streams, it is more important
than ever to properly stop this active part of SegmentIndex.

This change replaces async destroy() with synchronous release() and
calls it from Player when the manifest is being disposed of.  This
will ensure that SegmentIndexes don't grow out of control after
content is unloaded.

This would not have affected v2.5, since we didn't have this
timer-driven growth of DASH SegmentTemplate live streams in that
release branch.

Related to #1339 (fixes issues introduced for period flattening)

Change-Id: I419a06a62eaa507d92132e20d4cc2d6e45c83ff2
2020-03-23 10:21:13 -07:00
..
2019-11-22 18:18:36 +00:00
2020-03-13 10:24:41 -07:00
2019-11-22 18:18:36 +00:00
2019-11-22 18:18:36 +00:00
2019-11-22 18:18:36 +00:00
2019-11-22 18:18:36 +00:00
2019-11-22 18:18:36 +00:00
2019-11-22 18:18:36 +00:00