diff options
author | Justin Clark-Casey (justincc) | 2012-07-19 22:59:28 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-07-19 22:59:28 +0100 |
commit | e94831ddab282f2d84d0dad0b28e7cce6ac4c4b0 (patch) | |
tree | dcc956a3d6dc15069b6b22c0602b2b53d48c45a6 /OpenSim/Framework/Statistics/SimExtraStatsCollector.cs | |
parent | minor: remove some mono compiler warnings (diff) | |
download | opensim-SC_OLD-e94831ddab282f2d84d0dad0b28e7cce6ac4c4b0.zip opensim-SC_OLD-e94831ddab282f2d84d0dad0b28e7cce6ac4c4b0.tar.gz opensim-SC_OLD-e94831ddab282f2d84d0dad0b28e7cce6ac4c4b0.tar.bz2 opensim-SC_OLD-e94831ddab282f2d84d0dad0b28e7cce6ac4c4b0.tar.xz |
Stop explicitly closing and nulling out Animator in order to prevent NREs in various places due to race conditions.
Even where checks are being made they aren't enough since they all assume that the Animator they just checked is still there in the next line, which is not necessarily the case without locking.
The memory used is small and these should be GC'd anyway when the SP is released. If this is not happening then the wider problem of old SPs being retained needs to be resolved.
Diffstat (limited to 'OpenSim/Framework/Statistics/SimExtraStatsCollector.cs')
0 files changed, 0 insertions, 0 deletions