fix: notify request context shutdown on IO before cleanup (#14058)

This commit is contained in:
Robo 2018-08-15 02:37:53 +05:30 committed by Shelley Vohr
parent 8c21762bee
commit 9989195f19
22 changed files with 504 additions and 387 deletions

View file

@ -95,7 +95,7 @@ void WebRequest::SetListener(Method method, Event type, mate::Arguments* args) {
}
brightray::URLRequestContextGetter* url_request_context_getter =
browser_context_->url_request_context_getter();
browser_context_->GetRequestContext();
if (!url_request_context_getter)
return;
BrowserThread::PostTask(