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

Gracefully handle recursive engine invocations #837

Merged
merged 1 commit into from Feb 4, 2021

Conversation

lahma
Copy link
Collaborator

@lahma lahma commented Feb 3, 2021

Recursive calls were not working when stack recording is active. Before this was not an issue when the test case was running without recursion limits and thus the stack collection was off. Now it's always on and surfaced the problem. Now only resetting state if we know that engine has exited cleanly from earlier call.

fixes #835

@lahma lahma force-pushed the bugs/recursive-call-stack branch 2 times, most recently from 8ef9830 to e2404d8 Compare February 4, 2021 05:29
@lahma lahma marked this pull request as draft February 4, 2021 05:36
@lahma lahma marked this pull request as ready for review February 4, 2021 05:54
@lahma lahma merged commit f212d3f into sebastienros:dev Feb 4, 2021
@lahma lahma deleted the bugs/recursive-call-stack branch February 4, 2021 15: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.

InvalidOperationException during a recursive call of engine
2 participants