mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-26 17:07:47 +01:00
Merge revision 734 changes:
- Only release the request context proxy if it exists (issue #677). git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/963@735 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
939b5a2008
commit
bcc07f0333
@ -789,9 +789,11 @@ void CefBrowserImpl::UIT_DestroyBrowser() {
|
||||
|
||||
main_frame_ = NULL;
|
||||
|
||||
// Release the proxy on the IO thread.
|
||||
CefThread::ReleaseSoon(CefThread::IO, FROM_HERE,
|
||||
request_context_proxy_.release());
|
||||
if (request_context_proxy_) {
|
||||
// Release the proxy on the IO thread.
|
||||
CefThread::ReleaseSoon(CefThread::IO, FROM_HERE,
|
||||
request_context_proxy_.release());
|
||||
}
|
||||
|
||||
// Remove the reference added in UIT_CreateBrowser().
|
||||
Release();
|
||||
|
Loading…
x
Reference in New Issue
Block a user