浏览代码

Clear active sessions on application stopping

Patrick Barron 1 年之前
父节点
当前提交
59ec06c35c
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Emby.Server.Implementations/Session/SessionManager.cs

+ 2 - 0
Emby.Server.Implementations/Session/SessionManager.cs

@@ -1823,6 +1823,8 @@ namespace Emby.Server.Implementations.Session
             {
                 await session.DisposeAsync().ConfigureAwait(false);
             }
+
+            _activeConnections.Clear();
         }
     }
 }