diff options
Diffstat (limited to 'OpenSim/Region/UserStatistics/Prototype_distributor.cs')
-rw-r--r-- | OpenSim/Region/UserStatistics/Prototype_distributor.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/UserStatistics/Prototype_distributor.cs b/OpenSim/Region/UserStatistics/Prototype_distributor.cs index cdefef8..749831e 100644 --- a/OpenSim/Region/UserStatistics/Prototype_distributor.cs +++ b/OpenSim/Region/UserStatistics/Prototype_distributor.cs | |||
@@ -46,6 +46,8 @@ namespace OpenSim.Region.UserStatistics | |||
46 | { | 46 | { |
47 | StreamReader fs = new StreamReader(new FileStream(Util.dataDir() + "/data/prototype.js", FileMode.Open)); | 47 | StreamReader fs = new StreamReader(new FileStream(Util.dataDir() + "/data/prototype.js", FileMode.Open)); |
48 | prototypejs = fs.ReadToEnd(); | 48 | prototypejs = fs.ReadToEnd(); |
49 | fs.Close(); | ||
50 | fs.Dispose(); | ||
49 | } | 51 | } |
50 | pResult["js"] = prototypejs; | 52 | pResult["js"] = prototypejs; |
51 | return pResult; | 53 | return pResult; |