From fd1f550667f505781c586e272b3b95341f8dc879 Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Thu, 5 Aug 2021 16:03:02 -0400
Subject: [PATCH] Potentially fix a shutdown crash during gPipeline static
 global destruction

---
 indra/newview/pipeline.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 0ed3f9e52ba..8bb4fe202ab 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -651,8 +651,10 @@ void LLPipeline::cleanup()
 {
 	assertInitialized();
 
-	mGroupQ1.clear() ;
-	mGroupQ2.clear() ;
+	mGroupQ1.clear();
+	mGroupQ2.clear();
+    mGroupSaveQ1.clear();
+    mMeshDirtyGroup.clear();
 
 	for(pool_set_t::iterator iter = mPools.begin();
 		iter != mPools.end(); )
-- 
GitLab