Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(trace_pipe): don't close file prematurely
I noticed trace pipe logging stopped working and I tracked down the issue to the original file descriptor being closed too soon (when returning from open_trace_pipe). Turns out AsyncFd is not taking ownership the the original file and we must keep it around until we're done reading)
- Loading branch information
1 parent
840612f
commit 0e01450
Showing
1 changed file
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters