Skip to content

Conversation

@Yuras
Copy link
Contributor

@Yuras Yuras commented Apr 3, 2018

When we fail to create communication pipe, we should cleanup resources
before exit. E.g. we should close pipes for stdin, stdout and stderr if
they where created. Fixes #122.

Copy link
Collaborator

@snoyberg snoyberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Can you add a note to the ChangeLog explaining the modification?

When we fail to create communication pipe, we should cleanup resources
before exit. E.g. we should close pipes for stdin, stdout and stderr if
they where created. Fixes haskell#122.
@Yuras
Copy link
Contributor Author

Yuras commented Apr 4, 2018

Done. Should I also update package version in cabal file?

Copy link
Collaborator

@snoyberg snoyberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, no version bump necessary right now, thanks!

@snoyberg snoyberg merged commit a43f9ab into haskell:master Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Leaking file descriptors

2 participants