pino-arborsculpture
pino-arborsculpture copied to clipboard
readFile() leaking
This function does not automatically close the file if passed as a fd.
Would you like to send a Pull Request to address this issue? Remember to add unit tests.
I don't have the time right now putting out fires at work, but the fix is easy... just call fs.close(fd, callback).