From c199f158a0a2a6b38c492ac417c700b90c802f0e Mon Sep 17 00:00:00 2001 From: chinhster Date: Thu, 9 Nov 2017 09:04:57 +1100 Subject: Close autocompletion list for escape and delete on macOS 10.13 as the window was emptying but stayed visible. --- cocoa/PlatCocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa') diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index 5c61b9c7b..a8ea02f57 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -1724,7 +1724,7 @@ void Window::Destroy() { if (wid) { id idWin = (__bridge id)(wid); if ([idWin isKindOfClass: [NSWindow class]]) { - CFBridgingRelease(wid); + [idWin close]; } } wid = nullptr; -- cgit v1.2.3