Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XmlFile.ReadXmlFile<type>(string) doesn't close the stream #619

Closed
mpostol opened this issue Jun 25, 2021 · 0 comments
Closed

XmlFile.ReadXmlFile<type>(string) doesn't close the stream #619

mpostol opened this issue Jun 25, 2021 · 0 comments
Assignees
Labels
Bug Bug in the code.

Comments

@mpostol
Copy link
Owner

mpostol commented Jun 25, 2021

Describe the bug

All the methods creating stream must close it after usage.

To Reproduce

It was investigated in ASMD - opening the same file throws an exception The process cannot access the file .... because it is being used by another process.

Expected behavior

After deserialization, it should be possible to open the file again.

@mpostol mpostol added the Bug Bug in the code. label Jun 25, 2021
@mpostol mpostol self-assigned this Jun 25, 2021
@mpostol mpostol added this to the SemanticData_6.X milestone Jun 25, 2021
mpostol added a commit that referenced this issue Jun 25, 2021
mpostol added a commit that referenced this issue Jun 25, 2021
mpostol added a commit that referenced this issue Jun 25, 2021
mpostol added a commit that referenced this issue Jun 25, 2021
XmlFile.ReadXmlFile<type>(string) doesn't close the stream #619
mpostol added a commit that referenced this issue Jun 25, 2021
@mpostol mpostol closed this as completed Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug in the code.
Projects
None yet
Development

No branches or pull requests

1 participant