From 6d43998298f339853da59a268233cfcb0a0f82d6 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 11 Sep 2018 10:24:52 +0200 Subject: [PATCH] Bug 1478575 - Unify CamerasChild shutdown paths. --- ipc/glue/BackgroundChildImpl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ipc/glue/BackgroundChildImpl.cpp b/ipc/glue/BackgroundChildImpl.cpp index b157048a48..a129069bcb 100644 --- a/ipc/glue/BackgroundChildImpl.cpp +++ b/ipc/glue/BackgroundChildImpl.cpp @@ -312,6 +312,7 @@ BackgroundChildImpl::DeallocPCamerasChild(camera::PCamerasChild *aActor) RefPtr child = dont_AddRef(static_cast(aActor)); MOZ_ASSERT(aActor); + camera::Shutdown(); #endif return true; }