Skip to content

Recommit missing mcap import - #508

Open
michalpelka wants to merge 2 commits into
mainfrom
mp/mcap_import
Open

Recommit missing mcap import#508
michalpelka wants to merge 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
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.

1 participant