Commit ece2edf
committed
Fix missing file handle close if createWriteStream throws
Current versions of Node.js will actually close the file descriptor
once the file handle object gets GC'd, though this is deprecated
and ought not be relied on.1 parent 9bcf45d commit ece2edf
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
145 | 148 | | |
146 | 149 | | |
147 | 150 | | |
| |||
0 commit comments