Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2f17ef9754178289bbf6953e4e54a4811bb77489
      
https://github.com/WebKit/WebKit/commit/2f17ef9754178289bbf6953e4e54a4811bb77489
  Author: David Kilzer <[email protected]>
  Date:   2026-07-22 (Wed, 22 Jul 2026)

  Changed paths:
    M Source/WebCore/platform/graphics/avfoundation/AudioVideoRendererAVFObjC.h

  Log Message:
  -----------
  REGRESSION (315527@main): AudioVideoRendererAVFObjC must be destroyed on the 
main thread
<https://bugs.webkit.org/show_bug.cgi?id=319979>
<rdar://182796386>

Reviewed by Youenn Fablet.

`AudioVideoRendererAVFObjC` requires main-thread destruction.  Its
destructor tears down AVFoundation objects, removes its synchronizer
time observer, and calls `VideoMediaSampleRenderer::shutdown()`, whose
first statement asserts it is running on the main thread.

Specify `DestructionThread::Main` so the final dereference routes
deletion through the main thread regardless of which thread drops the
last reference, matching the destruction-thread policy already used by
`VideoMediaSampleRenderer` and the sibling AVFoundation renderers.

No new tests since this change is not directly testable.

* Source/WebCore/platform/graphics/avfoundation/AudioVideoRendererAVFObjC.h:

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



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

Reply via email to