Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 99d8e9334d383d8abf7d3f55fc46277d26385316
      
https://github.com/WebKit/WebKit/commit/99d8e9334d383d8abf7d3f55fc46277d26385316
  Author: Aditya Keerthi <[email protected]>
  Date:   2026-05-07 (Thu, 07 May 2026)

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

  Log Message:
  -----------
  [Cocoa] Fix `CFNotificationCenter` observer registration leaks in 
`WebProcessPool`
https://bugs.webkit.org/show_bug.cgi?id=314259
rdar://176407482

Reviewed by Richard Robinson and Abrar Rahman Protyasha.

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

Unregister observers for 
`kAXSReduceMotionAutoplayAnimatedImagesChangedNotification`
and `kAXSPrefersNonBlinkingCursorIndicatorDidChangeNotification`.

They are currently registered in 
`WebProcessPool::registerNotificationObservers()`,
but are never unregistered, resulting in a leak.

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



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

Reply via email to