diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-04-10 20:24:51 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-04-10 20:24:51 -0600 |
commit | 7e4c8b94d82680891116bd954289171b8f620bbc (patch) | |
tree | 8eec456694beef07d3f15b102314e8736f334621 /indra/newview | |
parent | bd9a7e273bc3711f22814403a6146224ddafe295 (diff) |
fix a logout crash
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llscenemonitor.cpp | 2 |
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 } |