浏览代码

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

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
Cody Robibero 3 年之前
父节点
当前提交
d8f1a87c85
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Emby.Server.Implementations/Session/SessionManager.cs

+ 1 - 1
Emby.Server.Implementations/Session/SessionManager.cs

@@ -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);