DescriptionDo not try to open DB in SessionStorageDatabase::DeleteNamespace()
DeleteNamespace() is called during shutdown (in a call chain: DOMStorageSession::~DOMStorageSession() -> DOMStorageContextImpl::DeleteSessionNamespace() -> SessionStorageDatabase::DeleteNamespace()).
Trying to open DB during shutdown causes unnecessary disk access, and it results in slowing down Chrome shutdown.
On Chrome OS, this is observed as a crash because Chrome gets aborted when it cannot finish shutdown quickly. (http://crbug.com/418627)
BUG=462500
Committed: https://crrev.com/36f040abc634e7c3bb41357c423b566d53c2072a
Cr-Commit-Position: refs/heads/master@{#318840}
Patch Set 1 #Patch Set 2 : Add comments #Messages
Total messages: 12 (2 generated)
|