[tor-commits] [tor-browser] 128/311: Backed out changeset 2a1c32b1731b (bug 1748968) for causing topcrash bug 1758998.
    gitolite role 
    git at cupani.torproject.org
       
    Tue Apr 26 15:28:48 UTC 2022
    
    
  
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 at gmail.com>
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.
    
    
More information about the tor-commits
mailing list