aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/UserStatistics/Prototype_distributor.cs
diff options
context:
space:
mode:
authorTeravus Ovares2009-01-05 18:35:50 +0000
committerTeravus Ovares2009-01-05 18:35:50 +0000
commit0cd0a9bdb10b76142776d72855fccbf72b74709f (patch)
treea1b56f6742757ea7facee3e0cfe87ef35b2c2993 /OpenSim/Region/UserStatistics/Prototype_distributor.cs
parent* Add the actual tests from http://opensimulator.org/mantis/view.php?id=2950 (diff)
downloadopensim-SC_OLD-0cd0a9bdb10b76142776d72855fccbf72b74709f.zip
opensim-SC_OLD-0cd0a9bdb10b76142776d72855fccbf72b74709f.tar.gz
opensim-SC_OLD-0cd0a9bdb10b76142776d72855fccbf72b74709f.tar.bz2
opensim-SC_OLD-0cd0a9bdb10b76142776d72855fccbf72b74709f.tar.xz
* Resolve a few bugs in the Stats Collector
** Update limiter logic reversed * Resolve a few bugs in the Viewer Stats collector ** Catch the logoff ViewerStats post (darn those caps deregistrations) ** Check the type of the correct map when checking * Resolve a leak in Prototype_distributor ** .Close, .Dispose()!
Diffstat (limited to 'OpenSim/Region/UserStatistics/Prototype_distributor.cs')
-rw-r--r--OpenSim/Region/UserStatistics/Prototype_distributor.cs2
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;