Dispose IDisposables in NativePdbWriter #952
Loading…
Reference in a new issue
No description provided.
Delete branch "omajid/dispose-resources-nativepdbwriter"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The code creates a local variable that's an IDisposable (CustomMetadataWriter), but doesn't call Dispose() on it.
The CustomMetadataWriter class holds two IDisposables (MemoryStream and BinaryStreamWriter), but was only Dispose()ing one of them.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.