summaryrefslogtreecommitdiff
path: root/indra/llcommon/llerrorthread.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-05-25 14:22:33 -0400
committerOz Linden <oz@lindenlab.com>2012-05-25 14:22:33 -0400
commitee66cb3efccd6976c5a7725620956ea7030b7b57 (patch)
tree7ae469e4d2aac985589e7df902959b27c603b2ad /indra/llcommon/llerrorthread.cpp
parent5ef8372e433896be174d7123bd4663087601a0df (diff)
parent3e8dab32ee88e0a6fda51c218c61d718cf9dcafa (diff)
merge back beta tags
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();