EXT-5026 - Crash when exiting from login screen

reviewed by Mani
meow-7.2.2
richard 2010-02-05 14:20:27 -08:00
parent 7735ef557d
commit e75a4ffb6a
2 changed files with 5 additions and 4 deletions

View File

@ -1353,9 +1353,6 @@ bool LLAppViewer::cleanup()
llinfos << "Cache files removed" << llendflush;
cleanup_menus();
// Wait for any pending VFS IO
while (1)
{

View File

@ -1726,7 +1726,11 @@ void LLViewerWindow::shutdownViews()
// destroy the nav bar, not currently part of gViewerWindow
// *TODO: Make LLNavigationBar part of gViewerWindow
delete LLNavigationBar::getInstance();
// destroy menus after instantiating navbar above, as it needs
// access to gMenuHolder
cleanup_menus();
// Delete all child views.
delete mRootView;
mRootView = NULL;