From 8f761a64f55b761e091f74970f274a5672206cb2 Mon Sep 17 00:00:00 2001 From: Luke Brown Date: Mon, 16 May 2022 22:33:04 -0500 Subject: [PATCH] revert changes to SessionManager --- Emby.Server.Implementations/Session/SessionManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.cs index 278e71ef3c..e2fa93a380 100644 --- a/Emby.Server.Implementations/Session/SessionManager.cs +++ b/Emby.Server.Implementations/Session/SessionManager.cs @@ -1359,11 +1359,11 @@ namespace Emby.Server.Implementations.Session /// /// The cancellation token. /// Task. - 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); } ///