Skip to content

Commit ce619e9

Browse files
authored
Merge pull request swiftlang#37746 from mikeash/fix-swift_task_enqueueGlobal_hook
[Concurrency] Fix the call to swift_task_enqueueGlobal_hook.
2 parents 6aa3abd + 70be680 commit ce619e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/GlobalExecutor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ static void swift_task_enqueueGlobalImpl(Job *job) {
337337

338338
void swift::swift_task_enqueueGlobal(Job *job) {
339339
if (swift_task_enqueueGlobal_hook)
340-
swift_task_enqueueGlobal_hook(job, swift_task_enqueueGlobal);
340+
swift_task_enqueueGlobal_hook(job, swift_task_enqueueGlobalImpl);
341341
else
342342
swift_task_enqueueGlobalImpl(job);
343343
}

0 commit comments

Comments
 (0)