Skip to content

[Concurrency] Isolated static lets are not safe to access across actors. #69598

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
Nov 2, 2023

Conversation

hborla
Copy link
Member

@hborla hborla commented Nov 2, 2023

static let variables are initialized upon first access, so they cannot be synchronously accessed across actors.

Resolves: rdar://90436577, #58270

@hborla
Copy link
Member Author

hborla commented Nov 2, 2023

@swift-ci please smoke test

Copy link
Contributor

@ktoso ktoso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

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