summaryrefslogtreecommitdiff
path: root/indra/newview/lltoolmgr.cpp
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2016-02-14 17:52:23 +0100
committerKitty Barnett <develop@catznip.com>2016-02-14 17:52:23 +0100
commit51786e9441159a1363d391588e9b1290d824725d (patch)
treefbb5400a2946b81a3a81d5f14da99dce6bce1e0b /indra/newview/lltoolmgr.cpp
parent26bd519536f5e450811fda4a876c054a336f406d (diff)
BUG-11401 FIXED Viewer crashes at logout when using Ctrl-Q/Alt-F4
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();