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

Fix flaky crashes related to Finalizers in tests #804

Merged
merged 2 commits into from
Dec 20, 2023
Merged

Conversation

halildurmus
Copy link
Owner

@halildurmus halildurmus commented Dec 19, 2023

  • Updates the Finalizer callback to decrement the reference count of the object only when COM is initialized
  • Resolves issues in tests that were leading to program crashes, along with various cleanup tasks
  • Implements a mechanism to guarantee the execution of Finalizers after tests, thus preventing the recurrence of such crashes in the future

@halildurmus halildurmus changed the base branch from fix-leaks to main December 19, 2023 22:15
@halildurmus halildurmus marked this pull request as ready for review December 19, 2023 22:17
@halildurmus halildurmus marked this pull request as draft December 19, 2023 22:17
@halildurmus halildurmus changed the title EXPERIMENT Fix flaky crashes related to Finalizers in tests Dec 20, 2023
@halildurmus halildurmus marked this pull request as ready for review December 20, 2023 13:17
@halildurmus halildurmus merged commit cb3f27b into main Dec 20, 2023
4 checks passed
@halildurmus halildurmus deleted the experiment branch December 20, 2023 19:21
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.

2 participants