Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 39a63aaa0374cf07432ae0fe80854bb93801f3e0
      
https://github.com/WebKit/WebKit/commit/39a63aaa0374cf07432ae0fe80854bb93801f3e0
  Author: Jer Noble <jer.no...@apple.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Cocoa/PlaybackSessionManagerProxy.h
    M Source/WebKit/UIProcess/Cocoa/PlaybackSessionManagerProxy.mm

  Log Message:
  -----------
  [visionOS] CRASH in 
PlaybackSessionManagerProxy::uncacheVideoReceiverEndpoint()
https://bugs.webkit.org/show_bug.cgi?id=275236
rdar://129208917

Reviewed by Andy Estes.

Proactively invalidate the PlaybackSessionModelContext, which as a side effect 
will call
uncacheVideoReceiverEndpoint(), rather than doing so in the middle of the 
destructor.

* Source/WebKit/UIProcess/Cocoa/PlaybackSessionManagerProxy.h:
* Source/WebKit/UIProcess/Cocoa/PlaybackSessionManagerProxy.mm:
(WebKit::PlaybackSessionModelContext::~PlaybackSessionModelContext):
(WebKit::PlaybackSessionModelContext::setVideoReceiverEndpoint):
(WebKit::PlaybackSessionModelContext::invalidate):
(WebKit::PlaybackSessionManagerProxy::invalidate):

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