From 8764f7b1b7f030a0929eab8a9629e92d4e34a94c Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Sat, 2 Oct 2010 18:15:55 -0700 Subject: Fixed #157: Group lists get merged after logging into multiple grids --- linden/indra/newview/llappviewer.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'linden/indra') diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp index 2496d13..96fc451 100644 --- a/linden/indra/newview/llappviewer.cpp +++ b/linden/indra/newview/llappviewer.cpp @@ -1189,6 +1189,9 @@ bool LLAppViewer::cleanup() { //*might* crash imprudence TODO: fix the voiceclient instead //this deletes all your buddies LLAvatarTracker::instance().reset(); + // reset group data. Blame LL for the need to clear a member variable through a global + LLGroupMgr::getInstance()->clearGroups(); + gAgent.mGroups.clear(); } //reset balance for not playing the UI-Sound -- cgit v1.1