If dotnet.exe gets killed at the point after MTP sent a request, but before dotnet.exe replies, the MTP process will stay alive forever with this state:
Digging further, we are simply stuck in this while (true) loop:
We should definitely handle when currentReadBytes is zero.
If
dotnet.exegets killed at the point after MTP sent a request, but beforedotnet.exereplies, the MTP process will stay alive forever with this state:Digging further, we are simply stuck in this
while (true)loop:testfx/src/Platform/Microsoft.Testing.Platform/IPC/NamedPipeClient.cs
Line 138 in 9d2e740
We should definitely handle when
currentReadBytesis zero.