From 74b4a5fe27fc4089fa34b4181471145cb3ddabc1 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]; }