Skip to content

Commit 2fa9e2a

Browse files
committed
(GH-85) Disposed of stream
1 parent 5e291db commit 2fa9e2a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Source/GitReleaseManager.Cli/Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,9 @@ private static async Task AddAssets(GitHubClient github, IList<string> assets, R
273273
};
274274

275275
await github.Release.UploadAsset(release, upload);
276+
277+
// Make sure to tidy up the stream that was created above
278+
upload.RawData.Dispose();
276279
}
277280
}
278281
}

0 commit comments

Comments
 (0)