Partly fix test bustage from bug 532751: set mShutdown before notifying the nsNPAPIPlugin, so that it doesn't re-enter IPC methods.

This commit is contained in:
Benjamin Smedberg 2009-12-04 18:41:56 -05:00
Родитель 8abc83ace0
Коммит badf2095ff
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -98,9 +98,10 @@ PluginModuleParent::ActorDestroy(ActorDestroyReason why)
{
switch (why) {
case AbnormalShutdown:
mShutdown = true;
if (mPlugin)
mPlugin->PluginCrashed();
// FALL THROUGH
break;
case NormalShutdown:
mShutdown = true;