mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-29 08:00:19 +01:00
Wait for a a synchronous task
This commit is contained in:
@@ -105,7 +105,8 @@ namespace Tgstation.Server.Host.Components.Watchdog
|
||||
}
|
||||
catch
|
||||
{
|
||||
_ = DisposeAsync();
|
||||
// synchronous
|
||||
DisposeAsync().AsTask().Wait();
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user