Skip to content

Commit d2f8da7

Browse files
authored
Apply suggestion from @nohwnd
1 parent e9867a1 commit d2f8da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cli/dotnet/Commands/Test/MTP/IPC/NamedPipeServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public void Dispose()
236236
// 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.
237237
// This is unexpected and we throw an exception.
238238

239-
// To close gracefully we need to ensure that the client closed the stream and the InternalLoopAsync method has exited.
239+
// To close gracefully we need to ensure that the client closed the stream in the InternalLoopAsync method (there is comment `// The client has disconnected`).
240240
if (!_loopTask!.Wait(TimeSpan.FromSeconds(90)))
241241
{
242242
throw new InvalidOperationException(CliCommandStrings.InternalLoopAsyncDidNotExitSuccessfullyErrorMessage);

0 commit comments

Comments
 (0)