Explorar o código

revert changes to SessionManager

Luke Brown %!s(int64=3) %!d(string=hai) anos
pai
achega
8f761a64f5
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Emby.Server.Implementations/Session/SessionManager.cs

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

@@ -1359,11 +1359,11 @@ namespace Emby.Server.Implementations.Session
         /// </summary>
         /// <param name="cancellationToken">The cancellation token.</param>
         /// <returns>Task.</returns>
-        public async Task SendServerShutdownNotification(CancellationToken cancellationToken)
+        public Task SendServerShutdownNotification(CancellationToken cancellationToken)
         {
             CheckDisposed();
 
-            await SendMessageToSessions(Sessions, SessionMessageType.ServerShuttingDown, string.Empty, cancellationToken).ConfigureAwait(false);
+            return SendMessageToSessions(Sessions, SessionMessageType.ServerShuttingDown, string.Empty, cancellationToken);
         }
 
         /// <summary>