[webkit-changes] [WebKit/WebKit] 1ac5e9: Crashes in -[WebProcessPoolCocoa registerNotificat...

Tim Horton noreply at github.com
Tue Oct 25 16:25:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1ac5e994822525bc0237b1e186bc74aaffd87c63
      https://github.com/WebKit/WebKit/commit/1ac5e994822525bc0237b1e186bc74aaffd87c63
  Author: Tim Horton <timothy_horton at apple.com>
  Date:   2022-10-25 (Tue, 25 Oct 2022)

  Changed paths:
    M Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm

  Log Message:
  -----------
  Crashes in -[WebProcessPoolCocoa registerNotificationObservers] after 255941 at main
https://bugs.webkit.org/show_bug.cgi?id=247029
rdar://101563115

Reviewed by Wenson Hsieh.

* Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(SOFT_LINK_CONSTANT_MAY_FAIL):
(WebKit::WebProcessPool::registerNotificationObservers):
(SOFT_LINK_CONSTANT): Deleted.
The whole point of soft linking this is because it may not exist.
Use SOFT_LINK_CONSTANT_MAY_FAIL and `canLoad-` to achieve the original goal.

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




More information about the webkit-changes mailing list