Skip to content

Commit 9c887e9

Browse files
[Bug] An error occurred trying to start process | Revert changes 10024e8 (#5229)
* Revert changes 10024e8 * Revert only try dispose the streams
1 parent 5453c1a commit 9c887e9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Agent.Sdk/ProcessInvoker.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,10 +404,6 @@ protected virtual void Dispose(bool disposing)
404404
{
405405
if (_proc != null)
406406
{
407-
//Dispose the standard output/error stream. Refer: https://github.com/dotnet/runtime/issues/58872
408-
_proc.StandardOutput?.Dispose();
409-
_proc.StandardError?.Dispose();
410-
411407
_proc.Dispose();
412408
_proc = null;
413409
}

0 commit comments

Comments
 (0)