Update Emby.Server.Implementations/Session/SessionManager.cs

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
pull/7781/head
Cody Robibero 2 years ago committed by GitHub
parent bf0a7c374c
commit d8f1a87c85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -338,7 +338,7 @@ namespace Emby.Server.Implementations.Session
_activeConnections.TryRemove(key, out _);
if (!string.IsNullOrEmpty(session.PlayState?.LiveStreamId))
{
await _mediaSourceManager.CloseLiveStream(session.PlayState?.LiveStreamId).ConfigureAwait(false);
await _mediaSourceManager.CloseLiveStream(session.PlayState.LiveStreamId).ConfigureAwait(false);
}
OnSessionEnded(session);

Loading…
Cancel
Save