summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2012-03-05 14:24:25 -0500
committerprep <prep@lindenlab.com>2012-03-05 14:24:25 -0500
commit4370d0263301a60988335e99d37f4b584f160f77 (patch)
treea0ffdff209dd34389b683e56f9fccb984aff4478 /indra
parentf5cebb27a72cf31723eb621bdcd117f7634a4e58 (diff)
Crash fix on teleport
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloaterpathfindingconsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpathfindingconsole.cpp b/indra/newview/llfloaterpathfindingconsole.cpp
index 2bf46175ee..5ac79668d2 100644
--- a/indra/newview/llfloaterpathfindingconsole.cpp
+++ b/indra/newview/llfloaterpathfindingconsole.cpp
@@ -248,7 +248,7 @@ void LLFloaterPathfindingConsole::onClose(bool pIsAppQuitting)
{
mAgentStateSlot.disconnect();
}
- LLPathingLib::getInstance()->cleanupResidual();
+ if ( LLPathingLib::getInstance() ) { LLPathingLib::getInstance()->cleanupResidual(); }
LLFloater::onClose(pIsAppQuitting);
setHeartBeat( false );
}