From 0e4372639da11c858f850b46101d84d0cfc57da4 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Wed, 12 Jul 2023 23:35:48 -0400 Subject: [PATCH] Add a .NET update todo --- src/Tgstation.Server.Host/System/ProcessExecutor.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Tgstation.Server.Host/System/ProcessExecutor.cs b/src/Tgstation.Server.Host/System/ProcessExecutor.cs index 874fd461c9..0512cb9a46 100644 --- a/src/Tgstation.Server.Host/System/ProcessExecutor.cs +++ b/src/Tgstation.Server.Host/System/ProcessExecutor.cs @@ -201,6 +201,9 @@ namespace Tgstation.Server.Host.System bool outputOpen = true, errorOpen = true; async Task GetNextLine() { +#if NET7_0_OR_GREATER +#error ReadLineAsync supports cancellation now +#endif if (outputOpen && outputReadTask == null) outputReadTask = stdOutHandle.ReadLineAsync();