fix potential crash with recent marathon updates (#2095)
This commit is contained in:
@@ -82,9 +82,9 @@ public class PlaylistEnumerator : IMediaCollectionEnumerator
|
||||
|
||||
public int EnumeratorIndex => _enumeratorIndex;
|
||||
|
||||
public void SetEnumeratorIndex(int primaryHistoryIndex)
|
||||
public void SetEnumeratorIndex(int enumeratorIndex)
|
||||
{
|
||||
_enumeratorIndex = primaryHistoryIndex;
|
||||
_enumeratorIndex = enumeratorIndex % _sortedEnumerators.Count;
|
||||
}
|
||||
|
||||
public static async Task<PlaylistEnumerator> Create(
|
||||
|
||||
Reference in New Issue
Block a user