SL-12198 Log source of quit command
parent
691993dc53
commit
57050ea2a7
|
|
@ -3994,6 +3994,7 @@ static LLNotificationFunctorRegistration finish_quit_reg("ConfirmQuit", finish_q
|
|||
|
||||
void LLAppViewer::userQuit()
|
||||
{
|
||||
LL_INFOS() << "User requested quit" << LL_ENDL;
|
||||
if (gDisconnected
|
||||
|| !gViewerWindow
|
||||
|| !gViewerWindow->getProgressView()
|
||||
|
|
|
|||
|
|
@ -52,10 +52,12 @@ LLAppViewerListener::LLAppViewerListener(const LLAppViewerGetter& getter):
|
|||
|
||||
void LLAppViewerListener::requestQuit(const LLSD& event)
|
||||
{
|
||||
LL_INFOS() << "Listener requested quit" << LL_ENDL;
|
||||
mAppViewerGetter()->requestQuit();
|
||||
}
|
||||
|
||||
void LLAppViewerListener::forceQuit(const LLSD& event)
|
||||
{
|
||||
LL_INFOS() << "Listener requested force quit" << LL_ENDL;
|
||||
mAppViewerGetter()->forceQuit();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -325,6 +325,7 @@ void LLProgressView::onCancelButtonClicked(void*)
|
|||
// cancel is pressed while teleporting inside region (EXT-4911)
|
||||
if (LLStartUp::getStartupState() < STATE_STARTED)
|
||||
{
|
||||
LL_INFOS() << "User requesting quit during login" << LL_ENDL;
|
||||
LLAppViewer::instance()->requestQuit();
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1112,6 +1112,8 @@ bool idle_startup()
|
|||
// Its either downloading or declined.
|
||||
// If optional was skipped this case shouldn't
|
||||
// be reached.
|
||||
|
||||
LL_INFOS() << "Forcing a quit due to update." << LL_ENDL;
|
||||
LLLoginInstance::getInstance()->disconnect();
|
||||
LLAppViewer::instance()->forceQuit();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1378,6 +1378,7 @@ BOOL LLViewerWindow::handleCloseRequest(LLWindow *window)
|
|||
|
||||
void LLViewerWindow::handleQuit(LLWindow *window)
|
||||
{
|
||||
LL_INFOS() << "Window forced quit" << LL_ENDL;
|
||||
LLAppViewer::instance()->forceQuit();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue