Skip to content

Close MemoryStream if replacing with GZipStream or ZlibStream  #41

Description

@marshallward

Currently, when using encoded data, we will open the base64 data and convert to a MemoryStream which is saved to Data. However, if the data is compressed, then we create a new stream and set Data to it without closing the original MemoryStream.

This should be fixed up in some way, either explicit closing the MemoryStream or not reusing the Data variable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions