diff options
author | chinhster <unknown> | 2017-11-09 09:04:57 +1100 |
---|---|---|
committer | chinhster <unknown> | 2017-11-09 09:04:57 +1100 |
commit | c199f158a0a2a6b38c492ac417c700b90c802f0e (patch) | |
tree | 0ae84b1109e59c83b0600864d43172e9425c7709 /cocoa/PlatCocoa.mm | |
parent | 57a581f6bc86f11ca668e23b1e9ea66c4e23f9ba (diff) | |
download | scintilla-mirror-c199f158a0a2a6b38c492ac417c700b90c802f0e.tar.gz |
Close autocompletion list for escape and delete on macOS 10.13 as the window
was emptying but stayed visible.
Diffstat (limited to 'cocoa/PlatCocoa.mm')
-rw-r--r-- | cocoa/PlatCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
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; |