Skip to content

Commit

Permalink
Cancel error read after process exits
Browse files Browse the repository at this point in the history
  • Loading branch information
BlythMeister committed May 20, 2020
1 parent 84da953 commit c9eebd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PaketChain/ConsoleHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ void ProcessDataReceived(object sender, DataReceivedEventArgs dataReceivedEventA
process.BeginErrorReadLine();
process.WaitForExit();
process.CancelOutputRead();
process.CancelErrorRead();

if (process.ExitCode != 0)
{
Expand Down

0 comments on commit c9eebd8

Please sign in to comment.