Skip to content

Commit 81ef1bd

Browse files
authored
Merge pull request swiftlang#35135 from DougGregor/concurrency-runasynchandler-workaround
2 parents e7df9db + 5cac8d0 commit 81ef1bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/Concurrency/Task.swift

+1
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ extension Task {
281281

282282
}
283283

284+
@_optimize(none)
284285
public func _runAsyncHandler(operation: @escaping () async -> ()) {
285286
_ = Task.runDetached(operation: operation)
286287
}

0 commit comments

Comments
 (0)