From a17fda2acb260b26a3b321e8440c1d85934ad490 Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Mon, 30 Jul 2018 10:00:34 -0400 Subject: [PATCH] Bug 1479277 - Don't try to send APZ messages after teardown. r=botond MozReview-Commit-ID: 8l0h197hfTj --HG-- extra : rebase_source : a65b07f66a05b9ec54aa859fa0d9384061332120 --- dom/ipc/TabChild.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/ipc/TabChild.cpp b/dom/ipc/TabChild.cpp index 4442e783960f..67c06b2112ed 100644 --- a/dom/ipc/TabChild.cpp +++ b/dom/ipc/TabChild.cpp @@ -532,7 +532,7 @@ TabChild::DoUpdateZoomConstraints(const uint32_t& aPresShellId, const ViewID& aViewId, const Maybe& aConstraints) { - if (!mApzcTreeManager) { + if (!mApzcTreeManager || mDestroyed) { return false; }