From 0f11042d25e0d9f26fd5921637e2a27209204d56 Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 11 Jan 2010 17:35:17 -0800 Subject: EXT-4095 - [crashhunters] Crash on shutdown in LLTextBase destructor reviewed by James --- indra/llui/lltexteditor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp index e8fc9475a5..f2c3879a6c 100644 --- a/indra/llui/lltexteditor.cpp +++ b/indra/llui/lltexteditor.cpp @@ -308,7 +308,8 @@ LLTextEditor::~LLTextEditor() // Scrollbar is deleted by LLView std::for_each(mUndoStack.begin(), mUndoStack.end(), DeletePointer()); - delete mContextMenu; + // context menu is owned by menu holder, not us + //delete mContextMenu; } //////////////////////////////////////////////////////////// -- cgit v1.2.3