summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorcallum <none@none>2010-10-07 12:08:03 -0700
committercallum <none@none>2010-10-07 12:08:03 -0700
commitdd2eff8da2b2508d5fc46492147e015d2455f957 (patch)
treebfae6ad41199479b578301a3c2ca7e749c18cdea /indra/newview/llappviewer.cpp
parent01b28ddf5ddc7118bc8b2047d899aee0293a8721 (diff)
EXP-167: Quit On Login Page Activated - viewer code /default setting
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r--indra/newview/llappviewer.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index a9bdabe794..e6661e4c9a 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -2951,6 +2951,14 @@ void LLAppViewer::earlyExit(const std::string& name, const LLSD& substitutions)
LLNotificationsUtil::add(name, substitutions, LLSD(), finish_early_exit);
}
+// case where we need the viewer to exit without any need for notifications
+void LLAppViewer::earlyExitNoNotify()
+{
+ llwarns << "app_early_exit with no notification: " << llendl;
+ gDoDisconnect = TRUE;
+ finish_early_exit( LLSD(), LLSD() );
+}
+
void LLAppViewer::forceExit(S32 arg)
{
removeMarkerFile();