diff options
author | Oz Linden <oz@lindenlab.com> | 2012-05-24 20:35:25 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-05-24 20:35:25 -0400 |
commit | 1d01ad116220503ac688641d939a8fee095f817b (patch) | |
tree | 6d446188dbfeaf555cf6b9a64c297483f2fa7cc2 /indra/llcommon/llerrorthread.cpp | |
parent | 1f0addf6e48c54ab33e0f02bab27cdf6e86d55fb (diff) | |
parent | 77488911a30021b6576ad5047395405a98e11b8d (diff) |
merge changes for DRTVWR-151
Diffstat (limited to 'indra/llcommon/llerrorthread.cpp')
-rw-r--r-- | indra/llcommon/llerrorthread.cpp | 7 |
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(); |