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);
}
///