diff --git a/brightray/browser/browser_context.cc b/brightray/browser/browser_context.cc index 230a8243386f..4970530d7bff 100644 --- a/brightray/browser/browser_context.cc +++ b/brightray/browser/browser_context.cc @@ -89,6 +89,9 @@ void BrowserContext::Initialize() { } BrowserContext::~BrowserContext() { + content::BrowserThread::DeleteSoon(content::BrowserThread::IO, + FROM_HERE, + resource_context_.release()); } void BrowserContext::RegisterInternalPrefs(PrefRegistrySimple* registry) {