summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2019-10-10 16:35:11 +0300
committermaxim_productengine <mnikolenko@productengine.com>2019-10-10 16:35:11 +0300
commit5ce0d6268b4750fb376c293d566736052185f638 (patch)
treecd6931d6d8db9c730f7b918f5481ce666a084a65 /indra
parent0ea0b980848d69aee1f9aee9cc360abc61dc1eec (diff)
SL-12093 FIXED [ordered shutdown] conversation.log erased at log in when all logs are set to be saved
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llstartup.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index 5e9ad1cbce..6cbd83d656 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -806,12 +806,6 @@ bool idle_startup()
gLoginMenuBarView->setEnabled( TRUE );
show_debug_menus();
- if (!LLConversationLog::instanceExists())
- {
- // Check existance since this part can be reached twice if login fails
- LLConversationLog::initParamSingleton();
- }
-
// Hide the splash screen
LLSplashScreen::hide();
// Push our window frontmost
@@ -948,6 +942,12 @@ bool idle_startup()
LLFile::mkdir(gDirUtilp->getChatLogsDir());
LLFile::mkdir(gDirUtilp->getPerAccountChatLogsDir());
+ //Initialize conversation log only when chat log directories are ready
+ if (!LLConversationLog::instanceExists())
+ {
+ // Check existance since this part can be reached twice if login fails
+ LLConversationLog::initParamSingleton();
+ }
//good a place as any to create user windlight directories
std::string user_windlight_path_name(gDirUtilp->getExpandedFilename( LL_PATH_USER_SETTINGS , "windlight", ""));