Bug 1478575 - Unify CamerasChild shutdown paths.

This commit is contained in:
wolfbeast 2018-09-11 10:24:52 +02:00 committed by Roy Tam
commit 6d43998298

View file

@ -312,6 +312,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;
}