Bug 1478575 - Unify CamerasChild shutdown paths. r=gcp

This commit is contained in:
Andreas Pehrson 2018-08-20 10:44:49 +02:00
parent c1225b0967
commit 84013bba14

View File

@ -420,6 +420,7 @@ BackgroundChildImpl::DeallocPCamerasChild(camera::PCamerasChild *aActor)
RefPtr<camera::CamerasChild> child =
dont_AddRef(static_cast<camera::CamerasChild*>(aActor));
MOZ_ASSERT(aActor);
camera::Shutdown();
#endif
return true;
}