We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b698b1b commit fac6c98Copy full SHA for fac6c98
Sources/DispatchAsync/DispatchQueue.swift
@@ -72,7 +72,7 @@ public class DispatchQueue: @unchecked Sendable {
72
} else {
73
if isMain {
74
Task { @MainActor [work] in
75
- DispatchQueue.$isMain.withValue(true) {
+ DispatchQueue.$isMain.withValue(true) { @MainActor [work] in
76
work()
77
}
78
0 commit comments