mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-17 20:50:42 +01:00
Mac: Fix execution of performClose: signal (issue #1203)
git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1750@1631 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
2e7e342f87
commit
8bf0d143b8
@ -389,9 +389,10 @@ bool CefBrowserHostImpl::PlatformCreateWindow() {
|
||||
|
||||
void CefBrowserHostImpl::PlatformCloseWindow() {
|
||||
if (window_info_.view != nil) {
|
||||
[[window_info_.view window] performSelector:@selector(performClose:)
|
||||
[[window_info_.view window]
|
||||
performSelectorOnMainThread:@selector(performClose:)
|
||||
withObject:nil
|
||||
afterDelay:0];
|
||||
waitUntilDone:NO];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user