diff options
author | Loren Shih <seraph@lindenlab.com> | 2009-11-30 12:07:52 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2009-11-30 12:07:52 -0500 |
commit | 7e2b88a32b0bed07abcf760bd0adf3403ec2ede2 (patch) | |
tree | f288d4643b897b503ee4f14284ffa326650061c4 /indra/newview/llfloatergesture.cpp | |
parent | f2da2c00a8c290cfb98adf5f53745a0108865ce9 (diff) |
EXT-2867 : Crash after toggling gestures on and off
Observer wasn't being removed when class was deleted.
--HG--
branch : avatar-pipeline
Diffstat (limited to 'indra/newview/llfloatergesture.cpp')
-rw-r--r-- | indra/newview/llfloatergesture.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llfloatergesture.cpp b/indra/newview/llfloatergesture.cpp index 0f8e4c10d7..d51a5d2a03 100644 --- a/indra/newview/llfloatergesture.cpp +++ b/indra/newview/llfloatergesture.cpp @@ -168,6 +168,7 @@ LLFloaterGesture::~LLFloaterGesture() LLGestureManager::instance().removeObserver(mObserver); delete mObserver; mObserver = NULL; + gInventory.removeObserver(this); } // virtual |