Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4eed3b5e3a8bacdec575964cf75cfedbf5fad771
      
https://github.com/WebKit/WebKit/commit/4eed3b5e3a8bacdec575964cf75cfedbf5fad771
  Author: Claudio Saavedra <[email protected]>
  Date:   2026-01-24 (Sat, 24 Jan 2026)

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

  Log Message:
  -----------
  [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



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

Reply via email to