mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 08:45:23 +03:00
Address requested changes by review
This commit is contained in:
@@ -25,7 +25,7 @@ namespace MediaBrowser.Controller.SyncPlay
|
||||
/// <summary>
|
||||
/// Class PlayQueueManager.
|
||||
/// </summary>
|
||||
public class PlayQueueManager : IDisposable
|
||||
public class PlayQueueManager
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the playing item index.
|
||||
@@ -83,27 +83,6 @@ namespace MediaBrowser.Controller.SyncPlay
|
||||
Reset();
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Releases unmanaged and optionally managed resources.
|
||||
/// </summary>
|
||||
/// <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
if (_disposed)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
_disposed = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the next available identifier.
|
||||
/// </summary>
|
||||
@@ -284,7 +263,7 @@ namespace MediaBrowser.Controller.SyncPlay
|
||||
ShuffledPlaylist.Add(playingItem);
|
||||
}
|
||||
PlayingItemIndex = 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
PlayingItemIndex = NoPlayingItemIndex;
|
||||
|
||||
Reference in New Issue
Block a user