Skip to content

Commit a74e7e0

Browse files
committed
Don't implement swift_task_deinitOnExecutorMainActorBackDeploy in the task-to-thread model
1 parent 42e1610 commit a74e7e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/Concurrency/MainActor.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,6 @@ extension MainActor {
162162
try assumeIsolated(operation, file: file, line: line)
163163
}
164164
}
165-
#endif // !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
166-
167165

168166
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || os(visionOS)
169167
@_extern(c, "pthread_main_np")
@@ -197,4 +195,6 @@ public func _deinitOnExecutorMainActorBackDeploy(
197195
}
198196
#endif
199197

198+
#endif // !SWIFT_STDLIB_TASK_TO_THREAD_MODEL_CONCURRENCY
199+
200200
#endif // !$Embedded

0 commit comments

Comments
 (0)