Skip to content

Commit

Permalink
Merge branch 'master' into feature/codespace
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-ivanov committed Jan 17, 2025
2 parents 218763f + 10024e8 commit 5b2dfb5
Show file tree
Hide file tree
Showing 2 changed files with 214 additions and 148 deletions.
4 changes: 4 additions & 0 deletions src/Agent.Sdk/ProcessInvoker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,10 @@ protected virtual void Dispose(bool disposing)
{
if (_proc != null)
{
//Dispose the standard output/error stream. Refer: https://github.com/dotnet/runtime/issues/58872
_proc.StandardOutput?.Dispose();
_proc.StandardError?.Dispose();

_proc.Dispose();
_proc = null;
}
Expand Down
Loading

0 comments on commit 5b2dfb5

Please sign in to comment.