aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Session
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2023-09-29 12:43:49 -0400
committerPatrick Barron <barronpm@gmail.com>2023-09-29 12:43:49 -0400
commit59ec06c35c3b958a1778a56334bdf91a2f0ccf3f (patch)
treee8969ffae14957ecf6efb176eb5a63e5cc711bc8 /Emby.Server.Implementations/Session
parent493de3297a415061f8d6a69ff9f62261c3159a2a (diff)
Clear active sessions on application stopping
Diffstat (limited to 'Emby.Server.Implementations/Session')
-rw-r--r--Emby.Server.Implementations/Session/SessionManager.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.cs
index 902d46a90..50d3e8e46 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();
}
}
}