зеркало из https://github.com/mozilla/gecko-dev.git
Bug 747683 - Don't unload the plugin library right before exiting the plugin process, because some plugins are using atexit handlers, r=josh
This commit is contained in:
Родитель
878c9dd502
Коммит
f019c782af
|
@ -113,9 +113,9 @@ PluginModuleChild::PluginModuleChild()
|
|||
PluginModuleChild::~PluginModuleChild()
|
||||
{
|
||||
NS_ASSERTION(gInstance == this, "Something terribly wrong here!");
|
||||
if (mLibrary) {
|
||||
PR_UnloadLibrary(mLibrary);
|
||||
}
|
||||
|
||||
// We don't unload the plugin library in case it uses atexit handlers or
|
||||
// other similar hooks.
|
||||
|
||||
DeinitGraphics();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче