bug 69167; plugin load fails silently on library not found; r=av, sr=waterson, a=roc+moz

This commit is contained in:
serge%netscape.com 2001-09-03 23:04:53 +00:00
Родитель 622522e134
Коммит 786285ca2c
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -372,10 +372,11 @@ nsresult nsPluginFile::LoadPlugin(PRLibrary* &outLibrary)
// namespace before attempting to load the plug-in seems to
// work fine.
if (!pLibrary) {
DisplayPR_LoadLibraryErrorMessage(libSpec.value.pathname);
LoadExtraSharedLibs();
// try reload plugin ones more
pLibrary = outLibrary = PR_LoadLibraryWithFlags(libSpec, 0);
if (!pLibrary)
DisplayPR_LoadLibraryErrorMessage(libSpec.value.pathname);
}
#endif