[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser] 128/311: Backed out changeset 2a1c32b1731b (bug 1748968) for causing topcrash bug 1758998.



This is an automated email from the git hooks/post-receive script.

pierov pushed a commit to branch geckoview-99.0.1-11.0-1
in repository tor-browser.

commit 40d6136aeabe7a916fbb020ab5af84a491fb6f7d
Author: Ryan VanderMeulen <ryanvm@xxxxxxxxx>
AuthorDate: Tue Mar 15 15:23:23 2022 -0400

    Backed out changeset 2a1c32b1731b (bug 1748968) for causing topcrash bug 1758998.
---
 widget/nsBaseWidget.cpp | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/widget/nsBaseWidget.cpp b/widget/nsBaseWidget.cpp
index 27183b8558dc8..e87d9ed36d56b 100644
--- a/widget/nsBaseWidget.cpp
+++ b/widget/nsBaseWidget.cpp
@@ -362,8 +362,11 @@ void nsBaseWidget::DestroyCompositor() {
     mAPZC = nullptr;
     SetCompositorWidgetDelegate(nullptr);
     mCompositorBridgeChild = nullptr;
-    mCompositorSession->Shutdown();
-    mCompositorSession = nullptr;
+
+    // XXX CompositorBridgeChild and CompositorBridgeParent might be re-created
+    // in ClientLayerManager destructor. See bug 1133426.
+    RefPtr<CompositorSession> session = std::move(mCompositorSession);
+    session->Shutdown();
   }
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits