Branch: refs/heads/webkitglib/2.50
Home: https://github.com/WebKit/WebKit
Commit: 5f4340504c6a25f97705bae87958e7721e8a78f4
https://github.com/WebKit/WebKit/commit/5f4340504c6a25f97705bae87958e7721e8a78f4
Author: Youenn Fablet <[email protected]>
Date: 2026-02-19 (Thu, 19 Feb 2026)
Changed paths:
M Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp
Log Message:
-----------
Cherry-pick 307777@main (5a279c49d7d3).
https://bugs.webkit.org/show_bug.cgi?id=306379
[macOS Debug]: ASSERTION FAILED: m_wrapper
/Volumes/Data/worker/macOS-Tahoe-Debug-Build-EWS/build/Source/WebCore/bindings/js/JSEventListener.h(168)
: JSC::JSObject
*WebCore::JSEventListener::ensureJSFunction(ScriptExecutionContext &) const
rdar://169044514
https://bugs.webkit.org/show_bug.cgi?id=306379
Reviewed by Eric Carlson.
As per https://w3c.github.io/webrtc-pc/#garbage-collection, a connection
can be GCed when its closed slot is true,
as no event should be fired on a closed connection.
We update RTCPeerConnection::scheduleEvent lambda to exit early if the
connection is closed.
Canonical link: https://commits.webkit.org/307777@main
Canonical link: https://commits.webkit.org/298234.430@webkitglib/2.50
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications