mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-23 15:37:51 +01:00
cefclient: macOS: Fix crash during shutdown from full-screen (issue #2158)
This commit is contained in:
parent
f440f850ef
commit
0a2b82757a
@ -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