Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 20a70a58eede5922602c4f6fc570728f6a492cf8
https://github.com/WebKit/WebKit/commit/20a70a58eede5922602c4f6fc570728f6a492cf8
Author: David Kilzer <[email protected]>
Date: 2024-11-21 (Thu, 21 Nov 2024)
Changed paths:
M
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm
Log Message:
-----------
[Media] WebCore::EffectiveRateChangedListener leaks
WebEffectiveRateChangedListenerObjCAdapter
<https://bugs.webkit.org/show_bug.cgi?id=283506>
<rdar://140360924>
Reviewed by Geoffrey Garen.
*
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
(@property WebEffectiveRateChangedListenerObjCAdapter.protectedListener):
- Change "nonatomic" to "atomic" to document ThreadSafeWeakPtr behavior.
(WebCore::timebaseEffectiveRateChangedCallback):
- Switch to use "auto".
(WebCore::EffectiveRateChangedListener::EffectiveRateChangedListener):
- Use adoptNS() to fix the leak.
Canonical link: https://commits.webkit.org/286931@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes