Little cleanup regarding crashlogger toggling.

This commit is contained in:
Shyotl
2012-01-28 22:02:10 -06:00
parent e7a20b04de
commit d9640ecc65
3 changed files with 21 additions and 6 deletions

View File

@@ -2145,7 +2145,7 @@ bool LLAppViewer::initConfiguration()
if(clp.hasOption("disablecrashlogger"))
{
llwarns << "Crashes will be handled by system, stack trace logs and crash logger are both disabled" <<llendl;
sDisableCrashlogger=TRUE;
LLAppViewer::instance()->disableCrashlogger();
}
// Handle initialization from settings.
@@ -2731,7 +2731,7 @@ void LLAppViewer::handleViewerCrash()
abort();
}
if(pApp->sDisableCrashlogger==TRUE)
if (LLApp::isCrashloggerDisabled())
{
abort();
}