Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 274202@main (ca5c43b). https://bugs.webkit.org/show_bug.c…
…gi?id=268541 [GStreamer] imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audioworklet-interface/audioworkletprocessor-promises.https.html is flaky crash https://bugs.webkit.org/show_bug.cgi?id=268541 <rdar://problem/122117396> Reviewed by Xabier Rodriguez-Calvar. The crash backtrace suggested the WebAudioSource element was attempting to use a dangling pointer. Ideally we should make the AudioDestination a weak pointer in the WebAudioSource but that breaks assumptions elsewhere where AudioDestination is used as a RefCounted. * Source/WebCore/platform/audio/gstreamer/AudioDestinationGStreamer.cpp: (WebCore::AudioDestinationGStreamer::~AudioDestinationGStreamer): * Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp: (webkit_web_audio_src_class_init): (webKitWebAudioSrcConstructed): (webKitWebAudioSrcRenderAndPushFrames): Canonical link: https://commits.webkit.org/274202@main Canonical link: https://commits.webkit.org/266719.367@webkitglib/2.42
- Loading branch information