[webkit-changes] [WebKit/WebKit] 68b841: Crash early if calling SuspendableWorkQueue::dispa...
Chris Dumez
noreply at github.com
Mon Jun 12 21:26:27 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 68b841ffaf2cf278d4f7f10fd924e7ebc679a86d
https://github.com/WebKit/WebKit/commit/68b841ffaf2cf278d4f7f10fd924e7ebc679a86d
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-06-12 (Mon, 12 Jun 2023)
Changed paths:
M Source/WTF/wtf/SuspendableWorkQueue.cpp
Log Message:
-----------
Crash early if calling SuspendableWorkQueue::dispatch() with a null Function
https://bugs.webkit.org/show_bug.cgi?id=257976
rdar://105807359
Reviewed by Sihui Liu.
Crash early if calling SuspendableWorkQueue::dispatch() with a null Function
instead of crashing asynchronously on the background thread. This is to help
debug the root cause of <rdar://105807359>.
* Source/WTF/wtf/SuspendableWorkQueue.cpp:
(WTF::SuspendableWorkQueue::dispatch):
(WTF::SuspendableWorkQueue::dispatchAfter):
Canonical link: https://commits.webkit.org/265100@main
More information about the webkit-changes
mailing list