Branch: refs/heads/webkitglib/2.52
  Home:   https://github.com/WebKit/WebKit
  Commit: 6a905b08e75dfecc530c16c57c1357d6a26e1a05
      
https://github.com/WebKit/WebKit/commit/6a905b08e75dfecc530c16c57c1357d6a26e1a05
  Author: Claudio Saavedra <[email protected]>
  Date:   2026-01-26 (Mon, 26 Jan 2026)

  Changed paths:
    M Source/WebCore/dom/Document.cpp

  Log Message:
  -----------
  Cherry-pick 306154@main (4eed3b5e3a8b). 
https://bugs.webkit.org/show_bug.cgi?id=306116

    [WPE][Debug] 
http/wpt/webaudio/the-audio-api/the-audioworklet-interface/options-range-error.html
 is a flaky crash
    https://bugs.webkit.org/show_bug.cgi?id=306116

    Reviewed by Darin Adler.

    During Document destruction, it's possible for the window event loop
    to be destructed as well. This can further continue to destroy
    an AudioContext that will then try to remove itself from the document
    that is already in the process of destruction, causing reentrancy issues.

    This can be prevented by exchanging the WindowEventLoop reference
    explicitly in the document's destructor so that its reference is dropped
    before the document is destroyed.

    For a complete stacktrace, please check the bug report.

    * Source/WebCore/dom/Document.cpp:
    (WebCore::Document::~Document):

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

Canonical link: https://commits.webkit.org/305877.13@webkitglib/2.52



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

Reply via email to