Skip to content

Commit 85a448b

Browse files
authored
Merge pull request #37747 from mikeash/fix-swift_task_enqueueGlobal_hook-5.5
2 parents 061f1ae + ed6520f commit 85a448b

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
@@ -336,7 +336,7 @@ static void swift_task_enqueueGlobalImpl(Job *job) {
336336

337337
void swift::swift_task_enqueueGlobal(Job *job) {
338338
if (swift_task_enqueueGlobal_hook)
339-
swift_task_enqueueGlobal_hook(job, swift_task_enqueueGlobal);
339+
swift_task_enqueueGlobal_hook(job, swift_task_enqueueGlobalImpl);
340340
else
341341
swift_task_enqueueGlobalImpl(job);
342342
}

0 commit comments

Comments
 (0)