summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-02-13 19:13:22 -0600
committerDave Parks <davep@lindenlab.com>2012-02-13 19:13:22 -0600
commit7206160fb5d1e8ef2e7fa4d037f34ba1633b0981 (patch)
treeb5eecc59e7a132b86fb5931e5cf20a880c93466e /indra/newview/llappviewer.cpp
parent3267b42ee521a7a059e0e87cba75a3d32af678e5 (diff)
SH-2973 Potential fix for crash in ~LLVOAvatarSelf
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r--indra/newview/llappviewer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 49fbdbf1df..3a257e1f1c 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -1769,6 +1769,8 @@ bool LLAppViewer::cleanup()
LLAvatarIconIDCache::getInstance()->save();
+ gAgentAvatarp = NULL;
+
LLViewerMedia::saveCookieFile();
// Stop the plugin read thread if it's running.