From e2f7f57f477785f9f159b2102d5eb30684f4eb85 Mon Sep 17 00:00:00 2001 From: Beq Date: Thu, 8 Dec 2022 23:47:07 +0000 Subject: [PATCH] [FIRE-32453] fixup bug introduced by moving the camera shutdown Swept up the delete in the move of the disconnect code. causes crash on exit. --- indra/newview/llappviewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 8a35750407..5215174d76 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -2062,6 +2062,7 @@ bool LLAppViewer::cleanup() // LLViewerCamera::deleteSingleton(); // LL_INFOS() << "Viewer disconnected" << LL_ENDL; + LLViewerCamera::deleteSingleton(); // if (gKeyboard) { @@ -4866,7 +4867,6 @@ void LLAppViewer::forceQuit() { // [FIRE-32453] [BUG-232971] disconnect sooner to force the cache write. disconnectViewer(); - LLViewerCamera::deleteSingleton(); LL_INFOS() << "Viewer disconnected" << LL_ENDL; // LLApp::setQuitting();