Avoid startup deadlocks by removing logging from error thread.

master
Nicky 2020-02-20 18:54:48 +01:00
parent 55919bc041
commit cc46806311
1 changed files with 3 additions and 1 deletions

View File

@ -106,7 +106,9 @@ void LLErrorThread::run()
// This thread sits and waits for the sole purpose
// of waiting for the signal/exception handlers to flag the
// application state as APP_STATUS_ERROR.
LL_INFOS() << "thread_error - Waiting for an error" << LL_ENDL;
// <FS:ND/> Do not log as this can lead to deadlocks during startup.
// LL_INFOS() << "thread_error - Waiting for an error" << LL_ENDL;
S32 counter = 0;
while (! (LLApp::isError() || LLApp::isStopped()))