Skip to content

Commit 4edfacb

Browse files
committed
[Backtracing][Runtime] Fix a copy/paste blunder.
Accidentally wrote `thread_resume()` instead of `thread_suspend()`. rdar://105391747
1 parent 0c5aeda commit 4edfacb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/CrashHandlerMacOS.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ suspend_other_threads()
153153
continue;
154154

155155
// Ignore the results of these two; if they fail there's nothing we can do
156-
(void)thread_resume(threads[n]);
156+
(void)thread_suspend(threads[n]);
157157
(void)mach_port_deallocate(mach_task_self(), threads[n]);
158158
}
159159

0 commit comments

Comments
 (0)