mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-29 08:00:19 +01:00
Use proper TCS method
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -66,7 +66,7 @@ namespace Tgstation.Server.Tests.Live.Instance
|
||||
}
|
||||
catch(Exception ex)
|
||||
{
|
||||
finishTcs.SetException(ex);
|
||||
finishTcs.TrySetException(ex);
|
||||
}
|
||||
|
||||
return Task.CompletedTask;
|
||||
|
||||
Reference in New Issue
Block a user