mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-17 04:30:46 +01:00
Fix AssertNoURLRequests due to pending proxy connections during shutdown (issue #1037).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1445 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
e8c2c80f70
commit
f9bed78d56
@ -71,6 +71,11 @@ CefURLRequestContextGetter::CefURLRequestContextGetter(
|
||||
CefURLRequestContextGetter::~CefURLRequestContextGetter() {
|
||||
CEF_REQUIRE_IOT();
|
||||
STLDeleteElements(&url_request_context_proxies_);
|
||||
|
||||
// Delete the ProxyService object here so that any pending requests will be
|
||||
// canceled before the associated URLRequestContext is destroyed in this
|
||||
// object's destructor.
|
||||
storage_->set_proxy_service(NULL);
|
||||
}
|
||||
|
||||
net::URLRequestContext* CefURLRequestContextGetter::GetURLRequestContext() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user