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
parent 622522e134
commit 786285ca2c

View File

@ -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