Bug 1235803 - Remove erroneous assertion
- Removed an unnecessary assertion that was erroneously triggering
on shutdown in B2G Mochitests.
--- a/gfx/vr/ipc/VRManagerParent.cpp
+++ b/gfx/vr/ipc/VRManagerParent.cpp
@@ -101,17 +101,16 @@ VRManagerParent::CreateSameProcess()
loop->PostTask(FROM_HERE,
NewRunnableFunction(RegisterVRManagerInCompositorThread, vmp.get()));
return vmp.get();
}
void
VRManagerParent::DeferredDestroy()
{
- MOZ_ASSERT(mCompositorThreadHolder);
mCompositorThreadHolder = nullptr;
mSelfRef = nullptr;
}
void
VRManagerParent::ActorDestroy(ActorDestroyReason why)
{
UnregisterFromManager();