Bug 747055 - Crash in RtlEnterCriticalSection | PR_Lock | mozilla::ipc::RPCChannel::WaitForNotify. r=bsmedberg

This commit is contained in:
Chris Jones 2012-06-21 20:44:38 -04:00
parent 6f0be0967a
commit 6d40dc48d4

View File

@ -178,7 +178,7 @@ PluginModuleParent::TimeoutChanged(const char* aPref, void* aModule)
void
PluginModuleParent::CleanupFromTimeout()
{
if (!mShutdown)
if (!mShutdown && OkToCleanup())
Close();
}