aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--linden/indra/newview/llappviewer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index 0c643b9..c03c63d 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -3993,9 +3993,8 @@ void LLAppViewer::disconnectViewer()
3993 gFloaterView->restoreAll(); 3993 gFloaterView->restoreAll();
3994 } 3994 }
3995 3995
3996
3997 std::list<LLFloater*> floaters_to_close; 3996 std::list<LLFloater*> floaters_to_close;
3998 for(LLView::child_list_const_iter_t it = gFloaterView->getChildList()->begin(); 3997 for (LLView::child_list_const_iter_t it = gFloaterView->getChildList()->begin();
3999 it != gFloaterView->getChildList()->end(); 3998 it != gFloaterView->getChildList()->end();
4000 ++it) 3999 ++it)
4001 { 4000 {
@@ -4005,7 +4004,7 @@ void LLAppViewer::disconnectViewer()
4005 // floater_animation_preview.xml 4004 // floater_animation_preview.xml
4006 // files. 4005 // files.
4007 LLFloater* fl = static_cast<LLFloater*>(*it); 4006 LLFloater* fl = static_cast<LLFloater*>(*it);
4008 if(fl 4007 if (fl
4009 && (fl->getName() == "Image Preview" 4008 && (fl->getName() == "Image Preview"
4010 || fl->getName() == "Sound Preview" 4009 || fl->getName() == "Sound Preview"
4011 || fl->getName() == "Animation Preview" 4010 || fl->getName() == "Animation Preview"
@@ -4042,7 +4041,8 @@ void LLAppViewer::disconnectViewer()
4042 4041
4043 // close inventory interface, close all windows 4042 // close inventory interface, close all windows
4044 LLInventoryView::cleanup(); 4043 LLInventoryView::cleanup();
4045 cleanup_menus(); 4044 // Don't cleanup menus on disconnect in order to avoid crashes -- MC
4045 //cleanup_menus();
4046 // Also writes cached agent settings to gSavedSettings 4046 // Also writes cached agent settings to gSavedSettings
4047 gAgent.cleanup(); 4047 gAgent.cleanup();
4048 4048