Skip to content

Conversation

@rrelyea
Copy link
Contributor

@rrelyea rrelyea commented Jan 30, 2021

Bug

Fixes: NuGet/Home#10503

Regression? yes, introduced yesterday

Description

Use using for disposable memory stream. Also could use Finally in try/catch block, but this is cleaner.

PR Checklist

  • PR has a meaningful title

  • PR has a linked issue.

  • Described changes

  • Tests

    • Automated tests added
    • OR
    • Test exception
    • OR
    • N/A
  • Documentation

    • Documentation PR or issue filled
    • OR
    • N/A

@rrelyea rrelyea merged commit 77e794a into dev Feb 1, 2021
@rrelyea rrelyea deleted the dev-rrelyea-PackageFileServiceFixes branch February 1, 2021 00:33
nkolev92 pushed a commit that referenced this pull request Feb 1, 2021
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.

NuGetPackageFileService fix - use using for disposable memorystream

5 participants