You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Task (on MainActor) may be executed other than the main thread.
Task {
do {
// It should do anything on main thread.
} catch {
// It should do anything on main thread, but sometimes executed on other than the main thread.
}
}
Describe the bug
Task (on MainActor) may be executed other than the main thread.
To Reproduce
All code is here on the branch in the repo.
https://github.com/soranoba/iOS-SandBox/tree/TaskMayBeExecutedOtherThanTheMainThread
It should output:
Expected behavior
It should output:
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: