summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolmgr.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2016-02-18 23:19:51 +0200
committerAndreyL ProductEngine <alihatskiy@productengine.com>2016-02-18 23:19:51 +0200
commitf62971a4f0f5882735ec50374e5821f7a2004363 (patch)
tree24412ee10c41ea36294b277f352d683833870669 /indra/newview/lltoolmgr.cpp
parent8920beabc4b01dfdbd8eb3bbe33deefe03896f7d (diff)
parentade46cfee04b21cbe88ab64f148e0087ef0a74c6 (diff)
Merged bunch of crashfixes from Kitty
Diffstat (limited to 'indra/newview/lltoolmgr.cpp')
-rwxr-xr-xindra/newview/lltoolmgr.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/lltoolmgr.cpp b/indra/newview/lltoolmgr.cpp
index 3ecb4015ce..2f8e464b71 100755
--- a/indra/newview/lltoolmgr.cpp
+++ b/indra/newview/lltoolmgr.cpp
@@ -400,6 +400,9 @@ void LLToolMgr::clearTransientTool()
void LLToolMgr::onAppFocusLost()
{
+ if (LLApp::isQuitting())
+ return;
+
if (mSelectedTool)
{
mSelectedTool->handleDeselect();