Skip to content

Dispose XmlReader in XmlRunSettingsUtilities - #5094

Merged
Jakub Jareš (nohwnd) merged 1 commit into
microsoft:mainfrom
omajid:xmlrunsettingsutilities-dispose-xmlreader
Jun 12, 2024
Merged

Dispose XmlReader in XmlRunSettingsUtilities#5094
Jakub Jareš (nohwnd) merged 1 commit into
microsoft:mainfrom
omajid:xmlrunsettingsutilities-dispose-xmlreader

Conversation

@omajid

Copy link
Copy Markdown
Contributor

Description

The existing code disposes the underlying stream, but not the XmlReader itself, even though the XmlReader is an IDisposable too.

Related issue

Fixes: #5093

  • I have ensured that there is a previously discussed and approved issue.

The existing code disposes the underlying stream, but not the XmlReader
itself, even though the XmlReader is an IDisposable too.
@ghost
ghost merged commit 5479064 into microsoft:main Jun 12, 2024
This was referenced Jul 22, 2025
This was referenced Aug 18, 2026
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.

Some XmlReaders in XmlRunSettingsUtilities are not disposed

2 participants