Skip to content

Fix native resource issue with empty streams#7461

Merged
KevinRansom merged 2 commits intodotnet:masterfrom
KevinRansom:cvtres
Aug 29, 2019
Merged

Fix native resource issue with empty streams#7461
KevinRansom merged 2 commits intodotnet:masterfrom
KevinRansom:cvtres

Conversation

@KevinRansom
Copy link
Copy Markdown
Contributor

Whilst working on something I discovered that native resource streams can be empty.

This PR adds a check so that native resource embedding doesn't fail when it is empty.

The change is one line plus an iddy biddy little comment, so best review the code with ?w=1

Co-Authored-By: Phillip Carter <pcarter@fastmail.com>
@KevinRansom KevinRansom merged commit b7ffe4a into dotnet:master Aug 29, 2019
@KevinRansom KevinRansom deleted the cvtres branch October 2, 2019 22:40
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.

2 participants