The Free Software Media System - Server Backend & API
Clear active sessions on application stopping
Patrick Barron59ec06c35c3b
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.csindex 902d46a906..50d3e8e46d 100644--- a/Emby.Server.Implementations/Session/SessionManager.cs+++ b/Emby.Server.Implementations/Session/SessionManager.cs@@ -1823,6 +1823,8 @@ namespace Emby.Server.Implementations.Session{await session.DisposeAsync().ConfigureAwait(false);}++ _activeConnections.Clear();}}}