mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
cefclient: macOS: Fix crash during shutdown from full-screen (issue #2158)
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user