mac: Clean delegate after closing window
This commit is contained in:
parent
74025ee985
commit
92244500c6
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ using namespace brightray;
|
|||
#pragma mark - NSWindowDelegate
|
||||
|
||||
- (void)windowWillClose:(NSNotification*)notification {
|
||||
[devtools_window_ setDelegate:nil];
|
||||
inspectableWebContentsView_->inspectable_web_contents()->CloseDevTools();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue