aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorArmin Weatherwax2010-02-20 17:07:34 +0100
committerArmin Weatherwax2010-04-28 19:15:02 +0200
commitac1eed6ff3e2ef03858256da76fd8408dcc79e9a (patch)
tree33ee9ac87dfd08b7c98a22a2023de134c2574d84 /linden/indra/newview/llappviewer.cpp
parentMerge commit 'jacek/next' into next (diff)
downloadmeta-impy-ac1eed6ff3e2ef03858256da76fd8408dcc79e9a.zip
meta-impy-ac1eed6ff3e2ef03858256da76fd8408dcc79e9a.tar.gz
meta-impy-ac1eed6ff3e2ef03858256da76fd8408dcc79e9a.tar.bz2
meta-impy-ac1eed6ff3e2ef03858256da76fd8408dcc79e9a.tar.xz
fix: crash on relog; appearence self pie greyed out after relog.
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llappviewer.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index bd32d28..7e22dce 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -1365,8 +1365,12 @@ bool LLAppViewer::cleanup()
1365 1365
1366 // PerAccountSettingsFile should be empty if no use has been logged on. 1366 // PerAccountSettingsFile should be empty if no use has been logged on.
1367 // *FIX:Mani This should get really saved in a "logoff" mode. 1367 // *FIX:Mani This should get really saved in a "logoff" mode.
1368 gSavedPerAccountSettings.saveToFile(gSavedSettings.getString("PerAccountSettingsFile"), TRUE); 1368 std::string per_account_settings_filename = gSavedSettings.getString("PerAccountSettingsFile");
1369 llinfos << "Saved settings" << llendflush; 1369 if (!per_account_settings_filename.empty())
1370 {
1371 gSavedPerAccountSettings.saveToFile(per_account_settings_filename, TRUE);
1372 llinfos << "Saved settings" << llendflush;
1373 }
1370 1374
1371 std::string crash_settings_filename = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, CRASH_SETTINGS_FILE); 1375 std::string crash_settings_filename = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, CRASH_SETTINGS_FILE);
1372 // save all settings, even if equals defaults 1376 // save all settings, even if equals defaults
@@ -3989,7 +3993,7 @@ void LLAppViewer::disconnectViewer()
3989 3993
3990 // close inventory interface, close all windows 3994 // close inventory interface, close all windows
3991 LLInventoryView::cleanup(); 3995 LLInventoryView::cleanup();
3992 3996 cleanup_menus();
3993 // Also writes cached agent settings to gSavedSettings 3997 // Also writes cached agent settings to gSavedSettings
3994 gAgent.cleanup(); 3998 gAgent.cleanup();
3995 3999
@@ -4000,7 +4004,6 @@ void LLAppViewer::disconnectViewer()
4000 // call all self-registered classes 4004 // call all self-registered classes
4001 LLDestroyClassList::instance().fireCallbacks(); 4005 LLDestroyClassList::instance().fireCallbacks();
4002 4006
4003 cleanup_xfer_manager();
4004 gDisconnected = TRUE; 4007 gDisconnected = TRUE;
4005 if (mQuitRequested) 4008 if (mQuitRequested)
4006 cleanup_xfer_manager(); 4009 cleanup_xfer_manager();