Commit 0a2b8275 authored by Marshall Greenblatt's avatar Marshall Greenblatt

cefclient: macOS: Fix crash during shutdown from full-screen (issue #2158)

parent f440f850
...@@ -197,6 +197,10 @@ ...@@ -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];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment