зеркало из https://github.com/mozilla/gecko-dev.git
Added call to np_UnloadPluginClass in NPL_Shutdown.
This commit is contained in:
Родитель
d7ef498baa
Коммит
479c87a522
|
@ -4012,6 +4012,12 @@ NPL_Shutdown()
|
|||
instance=instance->next;
|
||||
np_delete_instance(di);
|
||||
}
|
||||
|
||||
/* beard: since we initialize refs to 1, we have to reduce it to zero here. */
|
||||
if (dh->refs > 0) {
|
||||
dh->refs--;
|
||||
np_UnloadPluginClass(dh);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче