summaryrefslogtreecommitdiff
path: root/indra/llcommon/llerrorthread.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2012-03-20 15:23:42 -0400
committerNat Goodspeed <nat@lindenlab.com>2012-03-20 15:23:42 -0400
commitcabb6b6a5f339a69fec25b836f46b8b470eebb90 (patch)
tree7639aed6cb06bb0d9c3d52cb746d1c98f1120dbe /indra/llcommon/llerrorthread.cpp
parent739532ee4ffdd58f9d0999901340d5476533fec2 (diff)
parent9d9ad9a876d6498a89f9aeefc9bf258e1674dae7 (diff)
Automated merge with http://hg.secondlife.com/viewer-release
Diffstat (limited to 'indra/llcommon/llerrorthread.cpp')
-rw-r--r--indra/llcommon/llerrorthread.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/llcommon/llerrorthread.cpp b/indra/llcommon/llerrorthread.cpp
index 902eaa3b72..950fcd6e83 100644
--- a/indra/llcommon/llerrorthread.cpp
+++ b/indra/llcommon/llerrorthread.cpp
@@ -112,13 +112,8 @@ void LLErrorThread::run()
#if !LL_WINDOWS
U32 last_sig_child_count = 0;
#endif
- while (1)
+ while (! (LLApp::isError() || LLApp::isStopped()))
{
- if (LLApp::isError() || LLApp::isStopped())
- {
- // The application has stopped running, time to take action (maybe)
- break;
- }
#if !LL_WINDOWS
// Check whether or not the main thread had a sig child we haven't handled.
U32 current_sig_child_count = LLApp::getSigChildCount();