зеркало из https://github.com/mozilla/gecko-dev.git
Bug 795395 - Don't unload the library immediately on failure on nsGSettingsService::Init(). r=karlt
We return a failure anyway, so the component manager calls our destructor where we do the unload
This commit is contained in:
Родитель
ff9e704159
Коммит
b6bca32325
|
@ -312,7 +312,6 @@ nsGSettingsService::Init()
|
|||
*kGSettingsSymbols[i].function =
|
||||
PR_FindFunctionSymbol(gioLib, kGSettingsSymbols[i].functionName);
|
||||
if (!*kGSettingsSymbols[i].function) {
|
||||
PR_UnloadLibrary(gioLib);
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче