Sfoglia il codice sorgente

Clear active sessions on application stopping

Patrick Barron 1 anno fa
parent
commit
59ec06c35c
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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();
         }
     }
 }