workaround potencial memory leak
parent
5d5bad5fc1
commit
27dcb01b2e
|
@ -512,8 +512,8 @@ namespace OpenSim.Services.LLLoginService
|
||||||
//
|
//
|
||||||
if (m_MessageUrl != String.Empty)
|
if (m_MessageUrl != String.Empty)
|
||||||
{
|
{
|
||||||
WebClient client = new WebClient();
|
using(WebClient client = new WebClient())
|
||||||
processedMessage = client.DownloadString(m_MessageUrl);
|
processedMessage = client.DownloadString(m_MessageUrl);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue