mirror of
https://github.com/electron/electron.git
synced 2026-01-28 00:38:35 -05:00
Merge pull request #66 from brightray/crash-closing-devtools
mac: Close devtools when web contents is destroyed.
This commit is contained in:
@@ -17,6 +17,7 @@ InspectableWebContentsViewMac::InspectableWebContentsViewMac(InspectableWebConte
|
||||
}
|
||||
|
||||
InspectableWebContentsViewMac::~InspectableWebContentsViewMac() {
|
||||
CloseDevTools();
|
||||
}
|
||||
|
||||
gfx::NativeView InspectableWebContentsViewMac::GetNativeView() const {
|
||||
|
||||
Reference in New Issue
Block a user