summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-04-10 20:24:51 -0600
committerXiaohong Bao <bao@lindenlab.com>2013-04-10 20:24:51 -0600
commit7e4c8b94d82680891116bd954289171b8f620bbc (patch)
tree8eec456694beef07d3f15b102314e8736f334621 /indra/newview
parentbd9a7e273bc3711f22814403a6146224ddafe295 (diff)
fix a logout crash
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llscenemonitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llscenemonitor.cpp b/indra/newview/llscenemonitor.cpp
index c06d9d2689..15fe77f028 100644
--- a/indra/newview/llscenemonitor.cpp
+++ b/indra/newview/llscenemonitor.cpp
@@ -523,7 +523,7 @@ void LLSceneMonitor::addMonitorResult()
//dump results to a file _scene_monitor_results.csv
void LLSceneMonitor::dumpToFile(std::string file_name)
{
- if(mMonitorResults.empty())
+ if(mMonitorResults.empty() || !getRecording())
{
return; //nothing to dump
}