Skip to content
Snippets Groups Projects
Commit cf6aabff authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

Normalize LLErrorThread::run() loop exit condition.

parent f0c8c4e8
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment