mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
a1e8ffc491
commit
8a9e5f8e12
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user