diff --git a/src/Tgstation.Server.Host/Utils/SemaphoreSlimContext.cs b/src/Tgstation.Server.Host/Utils/SemaphoreSlimContext.cs index cdbe250071..a33ad5ffb4 100644 --- a/src/Tgstation.Server.Host/Utils/SemaphoreSlimContext.cs +++ b/src/Tgstation.Server.Host/Utils/SemaphoreSlimContext.cs @@ -15,7 +15,7 @@ namespace Tgstation.Server.Host.Utils /// The to lock. /// The for the operation. /// A resulting in the for the lock. - public static async Task Lock(SemaphoreSlim semaphore, CancellationToken cancellationToken) + public static async ValueTask Lock(SemaphoreSlim semaphore, CancellationToken cancellationToken) { ArgumentNullException.ThrowIfNull(semaphore); cancellationToken.ThrowIfCancellationRequested();