fix: crash when closing active macOS native tab (#39394)
fix: crash when closing current active macOS native tab
This commit is contained in:
parent
8f4f82618c
commit
eecfaec8c9
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ InspectableWebContentsViewMac::InspectableWebContentsViewMac(
|
||||||
initWithInspectableWebContentsViewMac:this]) {}
|
initWithInspectableWebContentsViewMac:this]) {}
|
||||||
|
|
||||||
InspectableWebContentsViewMac::~InspectableWebContentsViewMac() {
|
InspectableWebContentsViewMac::~InspectableWebContentsViewMac() {
|
||||||
|
[[NSNotificationCenter defaultCenter] removeObserver:view_];
|
||||||
CloseDevTools();
|
CloseDevTools();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue