nix-community / lorri

Your project’s nix-env [maintainer=@Profpatsch,@nyarly]
Apache License 2.0
638 stars 24 forks source link

fix(daemon): fix fd leak when writing yields BrokenPipe #62

Closed symphorien closed 2 years ago

symphorien commented 2 years ago

we would be waiting on read on an empty pipe for ever.

the leak is hit by running lorri internal stream-events --kind snapshot in a loop

Profpatsch commented 2 years ago

Nice find!