aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llappviewer.cpp16
1 files changed, 10 insertions, 6 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index ab4157f..b810abe 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -154,6 +154,7 @@
154#include "viewerversion.h" 154#include "viewerversion.h"
155 155
156// includes for idle() idleShutdown() 156// includes for idle() idleShutdown()
157#include "floaterao.h"
157#include "llviewercontrol.h" 158#include "llviewercontrol.h"
158#include "lleventnotifier.h" 159#include "lleventnotifier.h"
159#include "llcallbacklist.h" 160#include "llcallbacklist.h"
@@ -1156,21 +1157,21 @@ bool LLAppViewer::cleanup()
1156 LLMortician::setZealous(TRUE); 1157 LLMortician::setZealous(TRUE);
1157 1158
1158 if (mQuitRequested) 1159 if (mQuitRequested)
1159 LLVoiceClient::terminate(); 1160 {
1161 LLVoiceClient::terminate();
1162 }
1160 1163
1161 disconnectViewer(); 1164 disconnectViewer();
1162 1165
1163 llinfos << "Viewer disconnected" << llendflush; 1166 llinfos << "Viewer disconnected" << llendflush;
1164 1167
1165
1166
1167
1168
1169 //this deletes all your buddies 1168 //this deletes all your buddies
1170 LLAvatarTracker::instance().reset(); 1169 LLAvatarTracker::instance().reset();
1171 1170
1172 if (mQuitRequested) 1171 if (mQuitRequested)
1173 display_cleanup(); 1172 {
1173 display_cleanup();
1174 }
1174 1175
1175 release_start_screen(); // just in case 1176 release_start_screen(); // just in case
1176 1177
@@ -1190,6 +1191,9 @@ bool LLAppViewer::cleanup()
1190 //clear all the chat off the screen 1191 //clear all the chat off the screen
1191 gConsole->clear(); 1192 gConsole->clear();
1192 1193
1194 // Cleaned up elsewhere
1195 gAOInvTimer = NULL;
1196
1193 //if we are doing a soft cleanup, bail here 1197 //if we are doing a soft cleanup, bail here
1194 // But clean up the messaging system first -- MC 1198 // But clean up the messaging system first -- MC
1195 if (!mQuitRequested) 1199 if (!mQuitRequested)