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

AddCleanupAction doesn't work from field initializers #3

Open
arnonax opened this issue Feb 27, 2017 · 0 comments
Open

AddCleanupAction doesn't work from field initializers #3

arnonax opened this issue Feb 27, 2017 · 0 comments

Comments

@arnonax
Copy link
Owner

arnonax commented Feb 27, 2017

When calling AddCleanupAction from a constructor or from constructors of object that are called from field initializers, the cleanup action does not get called.
A new scope should be created for these actions, and they should be called just after the TestCleanup's cleanup actions.

arnonax added a commit that referenced this issue Oct 31, 2019
Adding back #2, and removing #3, leaving 1, 2, 4.
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

No branches or pull requests

1 participant