Index: headless/lib/browser/headless_browser_context_impl.cc |
diff --git a/headless/lib/browser/headless_browser_context_impl.cc b/headless/lib/browser/headless_browser_context_impl.cc |
index 76bc2c25dfa6318240a8a6a167412bb095c7f1ec..67f040560797b74c29fe71cb194be51d6f05a7cd 100644 |
--- a/headless/lib/browser/headless_browser_context_impl.cc |
+++ b/headless/lib/browser/headless_browser_context_impl.cc |
@@ -76,6 +76,7 @@ HeadlessBrowserContextImpl::HeadlessBrowserContextImpl( |
} |
HeadlessBrowserContextImpl::~HeadlessBrowserContextImpl() { |
+ ShutdownStoragePartitions(); |
if (resource_context_) { |
content::BrowserThread::DeleteSoon(content::BrowserThread::IO, FROM_HERE, |
resource_context_.release()); |