Cleanly shutdown browser context

This commit is contained in:
Kevin Sawicki 2017-02-10 09:27:50 -08:00
parent 4abd865989
commit 4ed9f63989

View file

@ -102,6 +102,8 @@ BrowserContext::BrowserContext(const std::string& partition, bool in_memory)
}
BrowserContext::~BrowserContext() {
NotifyWillBeDestroyed(this);
ShutdownStoragePartitions();
BrowserThread::DeleteSoon(BrowserThread::IO,
FROM_HERE,
resource_context_.release());