Skip to content

Commit ccb32e4

Browse files
committed
Fix process reading code to try to avoid deadlocks
1 parent 8fe3f98 commit ccb32e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tracer/test/Datadog.Trace.TestHelpers/ProcessHelper.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ public virtual void Dispose(int waitForExitTimeout)
130130
// Ignore exceptions when killing the process, as it may have already exited
131131
}
132132
}
133+
134+
Process.Dispose();
133135
}
134136
}
135137
}

0 commit comments

Comments
 (0)