MAINT-8042 Crash in LLViewerRegion::capabilitiesReceived()

meow-7.2.2
Mnikolenko Productengine 2017-12-06 17:48:01 +02:00
parent 34d3b49d1f
commit 84ea0ab778
1 changed files with 1 additions and 6 deletions

View File

@ -776,13 +776,8 @@ bool LLVivoxVoiceClient::startAndLaunchDaemon()
bool LLVivoxVoiceClient::provisionVoiceAccount()
{
LL_INFOS("Voice") << "Provisioning voice account." << LL_ENDL;
while (!gAgent.getRegion())
{
// *TODO* Set up a call back on agent that sends a message to a pump we can use to wake up.
llcoro::suspend();
}
while (!gAgent.getRegion()->capabilitiesReceived())
while (!gAgent.getRegion() || !gAgent.getRegion()->capabilitiesReceived())
{
// *TODO* Pump a message for wake up.
llcoro::suspend();