void GMPChild::ActorDestroy(ActorDestroyReason aWhy) { if (mLib) { GMPShutdownFunc shutdownFunc = reinterpret_cast<GMPShutdownFunc>(PR_FindFunctionSymbol(mLib, "GMPShutdown")); if (shutdownFunc) { shutdownFunc(); } } if (AbnormalShutdown == aWhy) { NS_WARNING("Abnormal shutdown of GMP process!"); _exit(0); } XRE_ShutdownChildProcess(); }
void GMPChild::ActorDestroy(ActorDestroyReason aWhy) { LOGD("%s reason=%d", __FUNCTION__, aWhy); for (uint32_t i = mGMPContentChildren.Length(); i > 0; i--) { MOZ_ASSERT_IF(aWhy == NormalShutdown, !mGMPContentChildren[i - 1]->IsUsed()); mGMPContentChildren[i - 1]->Close(); } if (mGMPLoader) { mGMPLoader->Shutdown(); } if (AbnormalShutdown == aWhy) { NS_WARNING("Abnormal shutdown of GMP process!"); ProcessChild::QuickExit(); } XRE_ShutdownChildProcess(); }
void PDFiumChild::ActorDestroy(ActorDestroyReason why) { XRE_ShutdownChildProcess(); }
void JetpackChild::ActorDestroy(ActorDestroyReason why) { XRE_ShutdownChildProcess(); }