We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 691d11a commit 5394383Copy full SHA for 5394383
src/BenchmarkDotNet/Engines/AnonymousPipesHost.cs
@@ -40,6 +40,13 @@ public void Dispose()
40
41
public void SendSignal(HostSignal hostSignal)
42
{
43
+ if (hostSignal == HostSignal.AfterAll)
44
+ {
45
+ // Before the last signal is reported and the benchmark process exits,
46
+ // add an artificial sleep to increase the chance of host process reading all std output.
47
+ System.Threading.Thread.Sleep(1);
48
+ }
49
+
50
WriteLine(Engine.Signals.ToMessage(hostSignal));
51
52
// read the response from Parent process, make the communication blocking
0 commit comments