Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 74e1228c432cf67d9c02bde40141bb032cd5bb44
      
https://github.com/WebKit/WebKit/commit/74e1228c432cf67d9c02bde40141bb032cd5bb44
  Author: Philippe Normand <[email protected]>
  Date:   2026-02-27 (Fri, 27 Feb 2026)

  Changed paths:
    M 
Source/WebCore/Modules/mediastream/gstreamer/GStreamerDataChannelHandler.cpp
    M Source/WebCore/Modules/mediastream/gstreamer/GStreamerDataChannelHandler.h

  Log Message:
  -----------
  [GStreamer] 
imported/w3c/web-platform-tests/webrtc/protocol/dtls-fingerprint-validation.html
 is a flaky crash
https://bugs.webkit.org/show_bug.cgi?id=308364

Reviewed by Xabier Rodriguez-Calvar.

Wrap the handler reference in a DataChannelNotifier structure, passed to the 
GstWebRTC DataChannel
GObject signal handlers. The crash was most likely due to the handler being 
destructed shortly
before the bufferedAmountChanged method call.

* Source/WebCore/Modules/mediastream/gstreamer/GStreamerDataChannelHandler.cpp:
(WebCore::DataChannelNotifier::DataChannelNotifier):
(WebCore::DataChannelNotifier::destruct):
(WebCore::GStreamerDataChannelHandler::GStreamerDataChannelHandler):
(WebCore::GStreamerDataChannelHandler::bufferedAmountChanged):
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerDataChannelHandler.h:

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



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

Reply via email to