[webkit-changes] [WebKit/WebKit] 2349fc: Call notify_get_state on non main thread

Per Arne Vollan noreply at github.com
Fri Mar 29 14:22:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2349fc0c0311c13a445dec02efeac6c3671a4692
      https://github.com/WebKit/WebKit/commit/2349fc0c0311c13a445dec02efeac6c3671a4692
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

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

  Log Message:
  -----------
  Call notify_get_state on non main thread
https://bugs.webkit.org/show_bug.cgi?id=271827
rdar://125521998

Reviewed by Chris Dumez.

To avoid blocking the main thread in the UI process, call notify_get_state on a non main thread.

* Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(WebKit::WebProcessPool::registerNotificationObservers):

Canonical link: https://commits.webkit.org/276841@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