summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorStinson Linden <stinson@lindenlab.com>2014-05-27 22:45:02 +0100
committerStinson Linden <stinson@lindenlab.com>2014-05-27 22:45:02 +0100
commitc84217cc5bf49354b39ea3521e4805c791a15c8c (patch)
tree25410eb845faefd9bd0975dbeacc1bd7598208b1 /indra/newview
parentfdc787cc06cd09a70e13cfb9da6f0aecd5d5d50f (diff)
MAINT-4009: Ensuring that the view listeners are properly cleaned up at app close.
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/llviewerwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index fc5fb39f4e..7d2771802e 100755
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -2088,6 +2088,9 @@ void LLViewerWindow::shutdownViews()
// access to gMenuHolder
cleanup_menus();
LL_INFOS() << "menus destroyed." << LL_ENDL ;
+
+ view_listener_t::cleanup();
+ LL_INFOS() << "view listeners destroyed." << LL_ENDL ;
// Delete all child views.
delete mRootView;