[webkit-changes] [WebKit/WebKit] 0769c4: Reference being taken to SourceBufferPrivateAVFObj...

Jean-Yves Avenard noreply at github.com
Wed Nov 29 20:25:32 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0769c4423a3f9a8b00bf8bf66e8e6b7af3a4fede
      https://github.com/WebKit/WebKit/commit/0769c4423a3f9a8b00bf8bf66e8e6b7af3a4fede
  Author: Jean-Yves Avenard <jya at apple.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm

  Log Message:
  -----------
  Reference being taken to SourceBufferPrivateAVFObjC in destructor
https://bugs.webkit.org/show_bug.cgi?id=265557
rdar://118957859

Reviewed by Andy Estes.

[WebAVSampleBufferListener invalidate] is called from the SourceBufferPrivateAVFObjC destructor, and as such we can't
take a strong reference to its parent.

* Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
(-[WebAVSampleBufferListener invalidate]):

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




More information about the webkit-changes mailing list