summaryrefslogtreecommitdiff
path: root/indra/newview/llvoicevivox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llvoicevivox.cpp')
-rwxr-xr-xindra/newview/llvoicevivox.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp
index 1eb0ac6ae0..4f89972192 100755
--- a/indra/newview/llvoicevivox.cpp
+++ b/indra/newview/llvoicevivox.cpp
@@ -799,12 +799,9 @@ void LLVivoxVoiceClient::stateMachine()
params.args.add("-ll");
params.args.add(loglevel);
- //if (loglevel != "0") //SPATTERS
- {
- std::string log_folder = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, "");
- params.args.add("-lf");
- params.args.add(log_folder);
- }
+ std::string log_folder = gDirUtilp->getExpandedFilename(LL_PATH_LOGS, "");
+ params.args.add("-lf");
+ params.args.add(log_folder);
if(!shutdown_timeout.empty())
{
@@ -1543,7 +1540,6 @@ void LLVivoxVoiceClient::stateMachine()
//MARK: stateLoggingOut
case stateLoggingOut: // waiting for logout response
// The handler for the AccountLoginStateChangeEvent will transition from here to stateLoggedOut.
- LL_INFOS() << "SPATTERS do I need to stay alive here?" << LL_ENDL;
break;
//MARK: stateLoggedOut
@@ -1647,6 +1643,9 @@ void LLVivoxVoiceClient::stateMachine()
void LLVivoxVoiceClient::closeSocket(void)
{
+#ifdef LL_WINDOWS
+ _sleep(3000); //Wait a moment for socket to close. SPATTERS
+#endif
mSocket.reset();
mConnected = false;
mConnectorHandle.clear();