MAINT-7786 FIXED Crash in LLVivoxVoiceClient::provisionVoiceAccount()
parent
3fc2a7b666
commit
88e171dc92
|
|
@ -875,15 +875,13 @@ bool LLVivoxVoiceClient::provisionVoiceAccount()
|
|||
llcoro::suspend();
|
||||
}
|
||||
|
||||
LLViewerRegion *region = gAgent.getRegion();
|
||||
|
||||
while (!region->capabilitiesReceived())
|
||||
while (!gAgent.getRegion()->capabilitiesReceived())
|
||||
{
|
||||
// *TODO* Pump a message for wake up.
|
||||
llcoro::suspend();
|
||||
}
|
||||
|
||||
std::string url = region->getCapability("ProvisionVoiceAccountRequest");
|
||||
std::string url = gAgent.getRegionCapability("ProvisionVoiceAccountRequest");
|
||||
|
||||
LLCore::HttpRequest::policy_t httpPolicy(LLCore::HttpRequest::DEFAULT_POLICY_ID);
|
||||
LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t
|
||||
|
|
|
|||
Loading…
Reference in New Issue