mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-23 04:57:17 +01:00
Actually utilize CancellationToken in IProcess.GetCombinedOutput()
This commit is contained in:
@@ -131,7 +131,8 @@ namespace Tgstation.Server.Host.System
|
||||
{
|
||||
if (readTask == null)
|
||||
throw new InvalidOperationException("Output/Error stream reading was not enabled!");
|
||||
return readTask;
|
||||
|
||||
return readTask.WaitAsync(cancellationToken);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user