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

Ensure unit test process dies; Back ported non-threaded FakeMainLoop from v2 #2756

Merged
merged 2 commits into from
Jul 19, 2023

Conversation

tig
Copy link
Collaborator

@tig tig commented Jul 19, 2023

When using ReSharper's unit test explorer, it becomes obvious that the unit test process is not getting killed correctly.

The problem is the threads created in FakeMainLoop don't get cleaned up.

It turns out the thread created wasn't actually needed, so the fix is just to remove it. This not only simplifies the implementation but makes the unit tests much more reliable.

@tig tig added testing Issues related to testing v1 For Issues & PRs targetting v1.x labels Jul 19, 2023
@tig tig requested a review from migueldeicaza as a code owner July 19, 2023 14:40
@tig tig merged commit 751e825 into gui-cs:develop Jul 19, 2023
@tig tig deleted the v1_non_threaded_fakemainloop branch April 3, 2024 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Issues related to testing v1 For Issues & PRs targetting v1.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant