cefclient: macOS: Fix crash during shutdown from full-screen (issue #2158)
This commit is contained in:
parent
a5f63034f9
commit
27a32dbe03
|
@ -197,6 +197,10 @@
|
|||
// Deletes itself.
|
||||
- (void)cleanup:(id)window {
|
||||
root_window_->WindowDestroyed();
|
||||
|
||||
// Don't want any more delegate callbacks after we destroy ourselves.
|
||||
[window setDelegate:nil];
|
||||
|
||||
[self release];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue