Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ViewProjection - Only Delete view if it exists #1349

Merged
merged 2 commits into from
Sep 6, 2019
Merged

ViewProjection - Only Delete view if it exists #1349

merged 2 commits into from
Sep 6, 2019

Conversation

ericgreenmix
Copy link
Contributor

There is a bug in my last ViewProjection changes that would attempt to delete a view if it was null. This fixes that issue by checking if the view exists before calling delete.

Copy link
Member

@mysticmind mysticmind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ericgreenmix Looks fine to me. Could you please add a unit test for this fix?

Copy link
Collaborator

@oskardudycz oskardudycz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as @mysticmind - I'm fine with merging after adding some unit test(s) for this case 👍

@ericgreenmix
Copy link
Contributor Author

Done

@oskardudycz
Copy link
Collaborator

@ericgreenmix thank you 👍

@oskardudycz oskardudycz added this to the 3.7.2 milestone Sep 6, 2019
@oskardudycz oskardudycz merged commit 3bb2351 into JasperFx:master Sep 6, 2019
@oskardudycz oskardudycz modified the milestones: 3.7.2, 3.8.0 Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants