* Properly dispose of the reader after readAttachments() has finished with it in the Mysql User data manager
parent
9650632cd1
commit
9e6b38078a
|
@ -660,7 +660,6 @@ namespace OpenSim.Data.MySQL
|
|||
return appearance;
|
||||
}
|
||||
|
||||
|
||||
// Read attachment list from data reader
|
||||
public Hashtable readAttachments(IDataReader r)
|
||||
{
|
||||
|
@ -678,6 +677,8 @@ namespace OpenSim.Data.MySQL
|
|||
ret.Add(attachpoint, item);
|
||||
}
|
||||
|
||||
r.Close();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue