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 f25c77ac4f
commit 2d68038cda
+2 -1
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