From 0abd08b6cc9450c8f56adbf480db901026e36e55 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Thu, 6 Sep 2018 13:46:32 +0200 Subject: [PATCH] macOS: Fix crash when closing full-screen window (issue #2491) --- libcef/browser/native/browser_platform_delegate_native_mac.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/libcef/browser/native/browser_platform_delegate_native_mac.mm b/libcef/browser/native/browser_platform_delegate_native_mac.mm index cba76107c..93130d61f 100644 --- a/libcef/browser/native/browser_platform_delegate_native_mac.mm +++ b/libcef/browser/native/browser_platform_delegate_native_mac.mm @@ -99,6 +99,7 @@ } - (void)cleanup:(id)window { + [window_ setDelegate:nil]; [self release]; }