Open omajid opened 2 months ago
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.
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.