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

Prevent stack overflow in conditional setups #412

Merged
merged 1 commit into from
Jul 11, 2017

Conversation

stakx
Copy link
Contributor

@stakx stakx commented Jul 11, 2017

This fixes #292.

In conditional setups, if the condition involves the mock on which
the setup is performed, there is a possibility of a stack overflow.
The chance of this happening can be reduced by checking the condition
only after all other criteria have been verified.
@stakx stakx merged commit eccba0c into devlooped:develop Jul 11, 2017
@stakx stakx deleted the conditional-setup-stack-overflow branch July 11, 2017 20:31
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.

None yet

1 participant