Skip to content

re-enable executor_deinit1.swift #67897

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

Merged
merged 1 commit into from
Aug 11, 2023
Merged

Conversation

kavon
Copy link
Member

@kavon kavon commented Aug 11, 2023

I put this test in originally XFAIL'd because the deinit for the actor was not being run before program exit. It was expected to run because it's not top-level code so there is a release of the object before returning from RunIt.main.

My guess is that the root cause of the original
bug of it not running the deinit was because of
the "executor stickiness" that was present in
Swift concurrency prior to SE-338. Today it
seems that this isn't an issue so we may as well
have this test back.

resolves rdar://77397981
resolves #56817

I put this test in originally XFAIL'd because the deinit for the actor was not being run before program exit. It was expected to run because it's not top-level code so there is a release of the object before returning from RunIt.main.

My guess is that the root cause of the original
bug of it not running the deinit was because of
the "executor stickiness" that was present in
Swift concurrency prior to SE-338. Today it
seems that this isn't an issue so we may as well
have this test back.

resolves rdar://77397981
resolves swiftlang#56817
@kavon kavon requested a review from ktoso as a code owner August 11, 2023 17:09
@kavon
Copy link
Member Author

kavon commented Aug 11, 2023

@swift-ci smoke test

@kavon
Copy link
Member Author

kavon commented Aug 11, 2023

@swift-ci please test

@kavon kavon merged commit d7d98c2 into swiftlang:main Aug 11, 2023
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.

[SR-14461] Re-enable test/Concurrency/Runtime/executor_deinit1.swift on linux
1 participant