mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-17 15:53:42 +01:00
Patch data-races and minor changes in SyncPlay
This commit is contained in:
@@ -18,9 +18,7 @@ namespace MediaBrowser.Controller.SyncPlay.PlaybackRequests
|
||||
/// <param name="mode">The enqueue mode.</param>
|
||||
public QueueGroupRequest(Guid[] items, GroupQueueMode mode)
|
||||
{
|
||||
var list = new List<Guid>();
|
||||
list.AddRange(items);
|
||||
ItemIds = list;
|
||||
ItemIds = items ?? Array.Empty<Guid>();
|
||||
Mode = mode;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user