зеркало из https://github.com/mozilla/gecko-dev.git
Fixing bug 39289. Fixing a crasher at shutdown time when createprofile option is used. r=dougt
This commit is contained in:
Родитель
9e6ae3f417
Коммит
4dcd2b675d
|
@ -276,8 +276,10 @@ static PRBool PR_CALLBACK DatasourceEnumerator(nsHashKey *aKey, void *aData, voi
|
|||
|
||||
nsChromeRegistry::~nsChromeRegistry()
|
||||
{
|
||||
mDataSourceTable->Enumerate(DatasourceEnumerator, mChromeDataSource);
|
||||
delete mDataSourceTable;
|
||||
if (mDataSourceTable) {
|
||||
mDataSourceTable->Enumerate(DatasourceEnumerator, mChromeDataSource);
|
||||
delete mDataSourceTable;
|
||||
}
|
||||
|
||||
if (mRDFService) {
|
||||
nsServiceManager::ReleaseService(kRDFServiceCID, mRDFService);
|
||||
|
|
|
@ -276,8 +276,10 @@ static PRBool PR_CALLBACK DatasourceEnumerator(nsHashKey *aKey, void *aData, voi
|
|||
|
||||
nsChromeRegistry::~nsChromeRegistry()
|
||||
{
|
||||
mDataSourceTable->Enumerate(DatasourceEnumerator, mChromeDataSource);
|
||||
delete mDataSourceTable;
|
||||
if (mDataSourceTable) {
|
||||
mDataSourceTable->Enumerate(DatasourceEnumerator, mChromeDataSource);
|
||||
delete mDataSourceTable;
|
||||
}
|
||||
|
||||
if (mRDFService) {
|
||||
nsServiceManager::ReleaseService(kRDFServiceCID, mRDFService);
|
||||
|
|
Загрузка…
Ссылка в новой задаче