Commit 2b10439
Call archive_write_finish_entry after extraction to close file handle
Without this, arch_disk holds the extracted file open until the Archive
object is destroyed. On Windows this blocks unlink() since object
destructors run after register_shutdown_function callbacks.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 09777fd commit 2b10439
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
337 | 344 | | |
338 | 345 | | |
339 | 346 | | |
| |||
0 commit comments