From 4370d0263301a60988335e99d37f4b584f160f77 Mon Sep 17 00:00:00 2001 From: prep Date: Mon, 5 Mar 2012 14:24:25 -0500 Subject: Crash fix on teleport --- indra/newview/llfloaterpathfindingconsole.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') 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 ); } -- cgit v1.2.3