summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-09-11 10:24:52 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-09-11 10:24:52 +0200
commitaa02451fb2feaba819affb73a6d8561145ba08f2 (patch)
tree3d33c46d377cab56ee79ad549486144e700e1e2f /ipc
parent2ac7f7006368ecfdefc1dcb52490bd6add68add1 (diff)
downloadaura-central-aa02451fb2feaba819affb73a6d8561145ba08f2.tar.gz
Bug 1478575 - Unify CamerasChild shutdown paths.
Diffstat (limited to 'ipc')
-rw-r--r--ipc/glue/BackgroundChildImpl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/glue/BackgroundChildImpl.cpp b/ipc/glue/BackgroundChildImpl.cpp
index b157048a4..a129069bc 100644
--- a/ipc/glue/BackgroundChildImpl.cpp
+++ b/ipc/glue/BackgroundChildImpl.cpp
@@ -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;
}