aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/llappviewer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index 1eac043..e4cd3af 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -1371,7 +1371,6 @@ bool LLAppViewer::cleanup()
1371 // save all settings, even if equals defaults 1371 // save all settings, even if equals defaults
1372 gCrashSettings.saveToFile(crash_settings_filename, FALSE); 1372 gCrashSettings.saveToFile(crash_settings_filename, FALSE);
1373 1373
1374 gSavedSettings.cleanup();
1375 gColors.cleanup(); 1374 gColors.cleanup();
1376 gCrashSettings.cleanup(); 1375 gCrashSettings.cleanup();
1377 1376
@@ -1425,6 +1424,9 @@ bool LLAppViewer::cleanup()
1425 delete sImageDecodeThread; 1424 delete sImageDecodeThread;
1426 sImageDecodeThread = NULL; 1425 sImageDecodeThread = NULL;
1427 1426
1427 gSavedSettings.cleanup();//do this after last time gSavedSettings is used *surprise*
1428
1429
1428 //Note: 1430 //Note:
1429 //LLViewerMedia::cleanupClass() has to be put before gImageList.shutdown() 1431 //LLViewerMedia::cleanupClass() has to be put before gImageList.shutdown()
1430 //because some new image might be generated during cleaning up media. --bao 1432 //because some new image might be generated during cleaning up media. --bao