Commit 5e8898d
Fix integration test file locking: close ifstream before fs::remove
On Windows, fs::remove throws when the file is still open by an ifstream
in the same process. Close the ifstream explicitly before removing the
annotations JSON temp files in the three affected tests.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent ebbe001 commit 5e8898d
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| 393 | + | |
393 | 394 | | |
394 | 395 | | |
395 | 396 | | |
| |||
428 | 429 | | |
429 | 430 | | |
430 | 431 | | |
| 432 | + | |
431 | 433 | | |
432 | 434 | | |
433 | 435 | | |
| |||
708 | 710 | | |
709 | 711 | | |
710 | 712 | | |
| 713 | + | |
711 | 714 | | |
712 | 715 | | |
713 | 716 | | |
0 commit comments