aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDiva Canto2009-12-22 21:00:46 -0800
committerDiva Canto2009-12-22 21:00:46 -0800
commitf45a69821b04fd743b7e79ab594484d055e06226 (patch)
tree4a8dd60c28a936301a5d13112c2f65164bfba179
parentRemove GetState. It is really unused and was reinstated by the revert (diff)
downloadopensim-SC_OLD-f45a69821b04fd743b7e79ab594484d055e06226.zip
opensim-SC_OLD-f45a69821b04fd743b7e79ab594484d055e06226.tar.gz
opensim-SC_OLD-f45a69821b04fd743b7e79ab594484d055e06226.tar.bz2
opensim-SC_OLD-f45a69821b04fd743b7e79ab594484d055e06226.tar.xz
Added Close() to Inventory/Archiver/InventoryArchiveReadRequest, so that the stream can be closed.
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs
index b778389..f299b0c 100644
--- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs
@@ -174,7 +174,13 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver
174 174
175 return nodesLoaded; 175 return nodesLoaded;
176 } 176 }
177 177
178 public void Close()
179 {
180 if (m_loadStream != null)
181 m_loadStream.Close();
182 }
183
178 /// <summary> 184 /// <summary>
179 /// Replicate the inventory paths in the archive to the user's inventory as necessary. 185 /// Replicate the inventory paths in the archive to the user's inventory as necessary.
180 /// </summary> 186 /// </summary>