зеркало из https://github.com/mozilla/pjs.git
Bug 393300. DOMStorage leaks mozStorage classes on shutdown. r+sr+a=jst
This commit is contained in:
Родитель
24f734703c
Коммит
907386a10d
|
@ -162,6 +162,9 @@ nsDOMStorageManager::Shutdown()
|
||||||
{
|
{
|
||||||
NS_IF_RELEASE(gStorageManager);
|
NS_IF_RELEASE(gStorageManager);
|
||||||
gStorageManager = nsnull;
|
gStorageManager = nsnull;
|
||||||
|
|
||||||
|
delete nsDOMStorage::gStorageDB;
|
||||||
|
nsDOMStorage::gStorageDB = nsnull;
|
||||||
}
|
}
|
||||||
|
|
||||||
PR_STATIC_CALLBACK(PLDHashOperator)
|
PR_STATIC_CALLBACK(PLDHashOperator)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче