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]) {}
|
||||
|
||||
InspectableWebContentsViewMac::~InspectableWebContentsViewMac() {
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:view_];
|
||||
CloseDevTools();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue