Prechádzať zdrojové kódy

Clear active sessions on application stopping

Patrick Barron 1 rok pred
rodič
commit
59ec06c35c

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

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