Commit 566c4fa
committed
Read the whole file into memory
when parsing multi-document files. Since parsing is lazy, just using
`do` results in the file being closed before parsing happens. Leaving
the file open and wating for the finalizer to close it was deemed
undesirable.1 parent 67dd8dd commit 566c4fa
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
168 | 171 | | |
0 commit comments