From 4f4227d5bbb9a3d86a0d024fcdc4f14f23889735 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 22 Aug 2016 06:23:55 +0100 Subject: [PATCH] workaround potencial memory leak --- OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs b/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs index 839072e43c..2d590fc01b 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs @@ -1193,6 +1193,8 @@ namespace OpenSim.Region.CoreModules.World.Archiver } ControlFileLoaded = true; + if(xtr != null) + xtr.Close(); return dearchivedScenes; }