mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Properly forward cancellationTokens
This commit is contained in:
@@ -777,7 +777,7 @@ namespace Emby.Dlna.PlayTo
|
||||
var currentWait = 0;
|
||||
while (_device.TransportState != TransportState.Playing && currentWait < MaxWait)
|
||||
{
|
||||
await Task.Delay(Interval).ConfigureAwait(false);
|
||||
await Task.Delay(Interval, cancellationToken).ConfigureAwait(false);
|
||||
currentWait += Interval;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user