Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 68b841ffaf2cf278d4f7f10fd924e7ebc679a86d
      
https://github.com/WebKit/WebKit/commit/68b841ffaf2cf278d4f7f10fd924e7ebc679a86d
  Author: Chris Dumez <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to