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