From fbdd93bb91c921b387682269423ce07dd69a92d1 Mon Sep 17 00:00:00 2001 From: Loren Shih Date: Mon, 29 Mar 2010 14:45:21 -0400 Subject: EXT-6536 : Make LLVOAvatarSelf a singleton No longer explicitly deleting gAgentAvatarp due to reference counting. --- indra/newview/llappviewer.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 8eab4bf508..a8d69a38cd 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -4085,7 +4085,6 @@ void LLAppViewer::disconnectViewer() gAgentCamera.cleanup(); // Also writes cached agent settings to gSavedSettings gAgent.cleanup(); - delete gAgentAvatarp; // This is where we used to call gObjectList.destroy() and then delete gWorldp. // Now we just ask the LLWorld singleton to cleanly shut down. -- cgit v1.2.3