mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
This fixes a crash with the PipeWire capturer caused by a Chromium change introduced in https://chromium-review.googlesource.com/c/chromium/src/+/5783826. DesktopMediaListBase now calls Refresh(true) after dispatching DesktopMediaListObserver::OnDelegatedSourceListDismissed, so it's important not to call DesktopCapturer::HandleFailure (which deallocates the DesktopMediaList) synchronously from OnDelegatedSourceListDismissed.