[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.
meow-7.2.2
Beq 2022-12-08 23:47:07 +00:00
parent 27c5bc62b5
commit e2f7f57f47
1 changed files with 1 additions and 1 deletions

View File

@ -2062,6 +2062,7 @@ bool LLAppViewer::cleanup()
// LLViewerCamera::deleteSingleton();
// LL_INFOS() << "Viewer disconnected" << LL_ENDL;
LLViewerCamera::deleteSingleton();
// </FS:Beq>
if (gKeyboard)
{
@ -4866,7 +4867,6 @@ void LLAppViewer::forceQuit()
{
// <FS:Beq> [FIRE-32453] [BUG-232971] disconnect sooner to force the cache write.
disconnectViewer();
LLViewerCamera::deleteSingleton();
LL_INFOS() << "Viewer disconnected" << LL_ENDL;
// </FS:Beq>
LLApp::setQuitting();