MAINT-8042 Crash in LLViewerRegion::capabilitiesReceived()
parent
34d3b49d1f
commit
84ea0ab778
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue