diff options
author | unknown | 2010-07-09 12:58:16 -0400 |
---|---|---|
committer | Melanie | 2010-07-09 18:23:48 +0100 |
commit | 6352fc5f57b8602235319c4f927c6a41c5048cbc (patch) | |
tree | bcf2aad64f20545f4c9c1faa1578bf9862665e11 /OpenSim/Region/Framework/Scenes/RegionStatsHandler.cs | |
parent | Hopefully fixes mantis #4852 (diff) | |
download | opensim-SC_OLD-6352fc5f57b8602235319c4f927c6a41c5048cbc.zip opensim-SC_OLD-6352fc5f57b8602235319c4f927c6a41c5048cbc.tar.gz opensim-SC_OLD-6352fc5f57b8602235319c4f927c6a41c5048cbc.tar.bz2 opensim-SC_OLD-6352fc5f57b8602235319c4f927c6a41c5048cbc.tar.xz |
Bug in 0.6.9 sometimes restoring script state causes region console to crash due to unhandled file lock exception. Attempt to resolve by wrapping several instances of file create / read logic in using statements and added some error handling for locked file exceptions. If it is IDisposable, it must be disposed! The close statements are unnecessary but harmless so I have left those in. The end of the using block will close and dispose automagically.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/RegionStatsHandler.cs')
0 files changed, 0 insertions, 0 deletions