mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-03-16 12:00:13 +01:00
cefclient: macOS: Fix crash during shutdown from full-screen (issue #2158)
This commit is contained in:
parent
c6b0e0e7cb
commit
30bc708a04
@ -197,6 +197,10 @@
|
|||||||
// Deletes itself.
|
// Deletes itself.
|
||||||
- (void)cleanup:(id)window {
|
- (void)cleanup:(id)window {
|
||||||
root_window_->WindowDestroyed();
|
root_window_->WindowDestroyed();
|
||||||
|
|
||||||
|
// Don't want any more delegate callbacks after we destroy ourselves.
|
||||||
|
[window setDelegate:nil];
|
||||||
|
|
||||||
[self release];
|
[self release];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user