diff options
Diffstat (limited to 'indra/newview/llvoicevivox.cpp')
-rwxr-xr-x | indra/newview/llvoicevivox.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp index 9eebabd89b..a43e90d85d 100755 --- a/indra/newview/llvoicevivox.cpp +++ b/indra/newview/llvoicevivox.cpp @@ -1160,11 +1160,13 @@ bool LLVivoxVoiceClient::breakVoiceConnection(bool corowait) else { // If we are not doing a corowait then we must sleep until the connector has responded // otherwise we may very well close the socket too early. +#ifdef LL_WINDOWS int count = 0; while (!mShutdownComplete && 10 > count++) { _sleep(1000); } +#endif } closeSocket(); // Need to do this now -- bad things happen if the destructor does it later. |