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

DisposableAction should not throw finalizer exception if not constructed #29

Closed
mrpmorris opened this issue May 6, 2020 · 0 comments · Fixed by #30 or #31
Closed

DisposableAction should not throw finalizer exception if not constructed #29

mrpmorris opened this issue May 6, 2020 · 0 comments · Fixed by #30 or #31

Comments

@mrpmorris
Copy link
Owner

When creating a DisposableAction with a parameter that will throw an exception, the ~DisposableAction finalizer will still execute, so only throw a "not disposed" exception in the finalizer if the object was successfully created.

@mrpmorris mrpmorris linked a pull request May 6, 2020 that will close this issue
@mrpmorris mrpmorris linked a pull request May 6, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant