Skip to content

Commit e9867a1

Browse files
Copilotnohwnd
andcommitted
Fix line number reference in NamedPipeServer comment
Co-authored-by: nohwnd <[email protected]>
1 parent 7d86394 commit e9867a1

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 line 103.
239+
// To close gracefully we need to ensure that the client closed the stream and the InternalLoopAsync method has exited.
240240
if (!_loopTask!.Wait(TimeSpan.FromSeconds(90)))
241241
{
242242
throw new InvalidOperationException(CliCommandStrings.InternalLoopAsyncDidNotExitSuccessfullyErrorMessage);

0 commit comments

Comments
 (0)