Skip to content

Recommit missing mcap import - #508

Merged
JanuszBedkowski merged 2 commits into
mainfrom
mp/mcap_import
Sep 5, 2026
Merged

Recommit missing mcap import#508
JanuszBedkowski merged 2 commits into
mainfrom
mp/mcap_import

Conversation

@michalpelka

Copy link
Copy Markdown
Contributor

Recommitted code that I missed somehow in #496

Signed-off-by: Michal Pelka <michalpelka@gmail.com>
On Windows fs::remove fails while a file still has an open handle, so the
four reader tests that kept a McapFileReader alive across the trailing
fs::remove(path) threw "The process cannot access the file because it is
being used by another process" and failed CI. Wrap the reader usage in a
block so its destructor closes the file before the delete, matching the
pattern the writer tests already use.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UbQZSR1ok4bBMBEd5uvHDM
@JanuszBedkowski
JanuszBedkowski merged commit 585d06d into main Sep 5, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants