Skip to content

[Fix] dispose ReqIFLoaderService streams deterministically; fixes #66#72

Merged
samatstariongroup merged 1 commit into
developmentfrom
GH66
May 18, 2026
Merged

[Fix] dispose ReqIFLoaderService streams deterministically; fixes #66#72
samatstariongroup merged 1 commit into
developmentfrom
GH66

Conversation

@samatstariongroup
Copy link
Copy Markdown
Member

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the ReqIFSharp code style guidelines
  • I have provided test coverage for my change (where applicable)

Description

Dispose previous sourceStream before reassignment in LoadInternalAsync and in Reset(); scope deserializationStream in a using so it is released on the exception path. Two-stream isolation is unchanged. Adds regression tests for reload/Reset disposal and ailing-deserializer propagation.

@sonarqubecloud
Copy link
Copy Markdown

@samatstariongroup samatstariongroup merged commit 2970f28 into development May 18, 2026
8 checks passed
@samatstariongroup samatstariongroup deleted the GH66 branch May 18, 2026 05:23
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