mirror of
https://github.com/electron/electron.git
synced 2026-01-28 16:58:21 -05:00
Fix crash when quitting
This commit is contained in:
@@ -499,8 +499,6 @@ void InspectableWebContentsImpl::WebContentsDestroyed() {
|
||||
frontend_loaded_ = false;
|
||||
Observe(nullptr);
|
||||
Detach();
|
||||
agent_host_ = nullptr;
|
||||
embedder_message_dispatcher_ = nullptr;
|
||||
|
||||
for (const auto& pair : pending_requests_)
|
||||
delete pair.first;
|
||||
|
||||
Reference in New Issue
Block a user