Added delay to Windows shutdown to let SLVoice die a good death.
parent
490b5ad5fc
commit
0dd6caecce
|
|
@ -16907,7 +16907,7 @@ Change of this parameter will affect the layout of buttons in notification toast
|
|||
<key>VivoxDebugLevel</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Logging level to use when launching the vivox daemon SPATTERS FIX VALUE BEFORE CHECKIN</string>
|
||||
<string>Logging level to use when launching the vivox daemon</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
|
|
@ -16926,7 +16926,7 @@ Change of this parameter will affect the layout of buttons in notification toast
|
|||
<key>Type</key>
|
||||
<string>String</string>
|
||||
<key>Value</key>
|
||||
<string>500</string>
|
||||
<string>5</string>
|
||||
</map>
|
||||
<key>VivoxDebugSIPURIHostName</key>
|
||||
<map>
|
||||
|
|
|
|||
|
|
@ -5687,7 +5687,7 @@ void LLAppViewer::idle()
|
|||
// hover callbacks
|
||||
//
|
||||
|
||||
#ifdef LL_DARWIN SPATTERS may want to make this mac-only. Test on Windows.
|
||||
#ifdef LL_DARWIN
|
||||
if (mQuitRequested) //MAINT-4243
|
||||
#endif
|
||||
{
|
||||
|
|
|
|||
|
|
@ -805,12 +805,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())
|
||||
{
|
||||
|
|
@ -1567,7 +1564,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
|
||||
|
|
@ -1671,6 +1667,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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue