mirror of
https://github.com/electron/electron.git
synced 2026-10-28 11:44:46 +08:00
Clear the retained view and delegate pointers before resetting their owning widget so neither raw_ptr outlives its pointee during CloseDevTools. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>