[webkit-changes] [WebKit/WebKit] 45ccb5: Ensure WTF::initialize is called in WorkQueue::mai...

David Degazio noreply at github.com
Wed Nov 13 10:16:19 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 45ccb551a4e879774bdfbd0204476fcd1ff0ea48
      https://github.com/WebKit/WebKit/commit/45ccb551a4e879774bdfbd0204476fcd1ff0ea48
  Author: David Degazio <d_degazio at apple.com>
  Date:   2024-11-13 (Wed, 13 Nov 2024)

  Changed paths:
    M Source/WTF/wtf/WorkQueue.cpp
    M Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceMain.mm

  Log Message:
  -----------
  Ensure WTF::initialize is called in WorkQueue::main and XPCServiceEventHandler
https://bugs.webkit.org/show_bug.cgi?id=283015
rdar://139753662

Reviewed by Yijia Huang.

Adds calls to WTF::initialize to both WorkQueue (in the call_once where we
allocate the WorkQueue) and the XPCServiceEventHandler (earlier in the block
where we eventually WTF::initializeMainThread()) to ensure WTF is properly
initialized before we use WTF types.

* Source/WTF/wtf/WorkQueue.cpp:
(WTF::WorkQueue::main):
* Source/WebKit/Shared/EntryPointUtilities/Cocoa/XPCService/XPCServiceMain.mm:
(WebKit::XPCServiceEventHandler):

Canonical link: https://commits.webkit.org/286545@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list