Windows only.

Aura Linden 2014-08-20 14:04:53 -07:00
parent 0452970fb3
commit f81da4875a
1 changed files with 2 additions and 0 deletions

View File

@ -372,6 +372,7 @@ void LLVivoxVoiceClient::terminate()
{
logout();
connectorShutdown();
#ifdef LL_WINDOWS
int count=0;
while (!mShutdownComplete && 10 > count++)
{
@ -379,6 +380,7 @@ void LLVivoxVoiceClient::terminate()
_sleep(1000);
}
#endif
closeSocket(); // Need to do this now -- bad things happen if the destructor does it later.
cleanUp();
}