Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 45ccb551a4e879774bdfbd0204476fcd1ff0ea48
      
https://github.com/WebKit/WebKit/commit/45ccb551a4e879774bdfbd0204476fcd1ff0ea48
  Author: David Degazio <d_dega...@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
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to