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

Relax preview traits sendability. #299

Merged
merged 2 commits into from
Nov 9, 2024
Merged

Conversation

mbrandonw
Copy link
Member

@mbrandonw mbrandonw commented Nov 8, 2024

Currently there are some sendability requirements for the .dependency preview trait, and that's only necessary because we store preview values in a LockIsolated. However, it seems that preview traits are only ever executed from the main queue, and so isolation shouldn't be necessary. So we are going to relax this until we find out that traits can be executed on non-main threads.

@stephencelis stephencelis merged commit e84352a into main Nov 9, 2024
5 checks passed
@stephencelis stephencelis deleted the relax-preview-traits branch November 9, 2024 00:14
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