From f45a69821b04fd743b7e79ab594484d055e06226 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Tue, 22 Dec 2009 21:00:46 -0800 Subject: Added Close() to Inventory/Archiver/InventoryArchiveReadRequest, so that the stream can be closed. --- .../Avatar/Inventory/Archiver/InventoryArchiveReadRequest.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 return nodesLoaded; } - + + public void Close() + { + if (m_loadStream != null) + m_loadStream.Close(); + } + /// /// Replicate the inventory paths in the archive to the user's inventory as necessary. /// -- cgit v1.1