We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d86394 commit e9867a1Copy full SHA for e9867a1
src/Cli/dotnet/Commands/Test/MTP/IPC/NamedPipeServer.cs
@@ -236,7 +236,7 @@ public void Dispose()
236
// If the loop task is null at this point we have race condition, means that the task didn't start yet and we already dispose.
237
// This is unexpected and we throw an exception.
238
239
- // To close gracefully we need to ensure that the client closed the stream line 103.
+ // To close gracefully we need to ensure that the client closed the stream and the InternalLoopAsync method has exited.
240
if (!_loopTask!.Wait(TimeSpan.FromSeconds(90)))
241
{
242
throw new InvalidOperationException(CliCommandStrings.InternalLoopAsyncDidNotExitSuccessfullyErrorMessage);
0 commit comments