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
commitca179444a1fb56bb42896c735b23906460c40d88 (patch)
tree38e44580db7ec792b283cd9e904aebf26f394a0f /indra/newview/llappviewer.cpp
parent041f1c1b03e2eee5d08c2b37883ebf5d5f9671df (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.