diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2017-09-12 17:13:11 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2017-09-12 17:13:11 +0300 |
commit | 88e171dc92f2cd7f430c23c243147476c0a56518 (patch) | |
tree | 89ef7b12ed05335d74749a3dfa3fb29819010818 /indra/newview | |
parent | 3fc2a7b66651183731e9d235e3bef4314a2cd3ab (diff) |
MAINT-7786 FIXED Crash in LLVivoxVoiceClient::provisionVoiceAccount()
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llvoicevivox.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp index a7658fe0be..fe497ee3be 100644 --- a/indra/newview/llvoicevivox.cpp +++ b/indra/newview/llvoicevivox.cpp @@ -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 |