mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 05:56:58 +01:00
Run these continuations asynchronously
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Tgstation.Server.Tests.Live
|
||||
|
||||
public static Task FailureSource => failureSink.Task;
|
||||
|
||||
static readonly TaskCompletionSource failureSink = new TaskCompletionSource();
|
||||
static readonly TaskCompletionSource failureSink = new (TaskCreationOptions.RunContinuationsAsynchronously);
|
||||
|
||||
public ILogger CreateLogger(string categoryName) => new HardFailLogger(ex =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user