SL-16408 fixed regression - crash on exit

meow-7.2.2
Mnikolenko Productengine 2021-11-29 17:52:11 +02:00
parent f7258b49b2
commit 5641f9612c
1 changed files with 2 additions and 3 deletions

View File

@ -1768,9 +1768,7 @@ bool LLAppViewer::cleanup()
//ditch LLVOAvatarSelf instance
gAgentAvatarp = NULL;
LLViewerCamera::deleteSingleton();
LLNotifications::instance().clear();
LLNotifications::instance().clear();
// workaround for DEV-35406 crash on shutdown
LLEventPumps::instance().reset();
@ -1811,6 +1809,7 @@ bool LLAppViewer::cleanup()
LLPluginProcessParent::shutdown();
disconnectViewer();
LLViewerCamera::deleteSingleton();
LL_INFOS() << "Viewer disconnected" << LL_ENDL;