swift
f4e93bd9
- Top-level code is executed on the main actor
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
3 years ago
Top-level code is executed on the main actor This patch sets the actor isolation of the top-level code contexts to be on the main actor. This holds since the implicit `async_Main` function generated is executed on the main actor executor.
References
#40998 - Make top-level code variables `@MainActor @preconcurrency`
Author
etcwilde
Committer
etcwilde
Parents
9eb9df83
Loading