mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-23 15:30:56 -04:00
Update Emby.Server.Implementations/Session/SessionManager.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
parent
bf0a7c374c
commit
d8f1a87c85
@ -338,7 +338,7 @@ namespace Emby.Server.Implementations.Session
|
|||||||
_activeConnections.TryRemove(key, out _);
|
_activeConnections.TryRemove(key, out _);
|
||||||
if (!string.IsNullOrEmpty(session.PlayState?.LiveStreamId))
|
if (!string.IsNullOrEmpty(session.PlayState?.LiveStreamId))
|
||||||
{
|
{
|
||||||
await _mediaSourceManager.CloseLiveStream(session.PlayState?.LiveStreamId).ConfigureAwait(false);
|
await _mediaSourceManager.CloseLiveStream(session.PlayState.LiveStreamId).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
OnSessionEnded(session);
|
OnSessionEnded(session);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user