parent
7735ef557d
commit
e75a4ffb6a
|
|
@ -1353,9 +1353,6 @@ bool LLAppViewer::cleanup()
|
|||
|
||||
llinfos << "Cache files removed" << llendflush;
|
||||
|
||||
|
||||
cleanup_menus();
|
||||
|
||||
// Wait for any pending VFS IO
|
||||
while (1)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue