Skip to content

Ensure file handles are correctly disposed#451

Draft
KodrAus wants to merge 2 commits intodatalust:devfrom
KodrAus:fix/invalid-delete
Draft

Ensure file handles are correctly disposed#451
KodrAus wants to merge 2 commits intodatalust:devfrom
KodrAus:fix/invalid-delete

Conversation

@KodrAus
Copy link
Copy Markdown
Member

@KodrAus KodrAus commented Mar 27, 2026

For #448

This PR aims to track down potential file handle leakage in the forwarder's storage engine due to missing Dispose calls, of which there are a few in BufferReader. The test filesystem now tracks active handles and throws when attempting to delete a file with any active. I'll also update it to run a real tmp directory side-by-side and compare the results.

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