[webkit-changes] [WebKit/WebKit] cd1c41: Notification observer is not being removed

Per Arne Vollan noreply at github.com
Fri Feb 21 20:30:31 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cd1c41746636cab4395e29106473e3dcea9c0817
      https://github.com/WebKit/WebKit/commit/cd1c41746636cab4395e29106473e3dcea9c0817
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2025-02-21 (Fri, 21 Feb 2025)

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

  Log Message:
  -----------
  Notification observer is not being removed
https://bugs.webkit.org/show_bug.cgi?id=288140
rdar://145054761

Reviewed by Chris Dumez.

Notification observer is not being removed in WebProcessPool. This can cause crashes if
the notification is being posted after the WebProcessPool has been destroyed.

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

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