clearMap_(map) {
    for (const reference of map.keys()) {
      if (reference) {
        this.abortPrefetchedSegment_(reference);
      }
    }
  }
Clear All Helper
@param {!Map<T,
       !shaka.media.SegmentPrefetchOperation>} map
@template T SegmentReference or InitSegmentReference
@private