From 025441d722b6fa175cccb674aa4a08a34093323e Mon Sep 17 00:00:00 2001 From: Homer Horwitz Date: Fri, 19 Sep 2008 21:32:41 +0000 Subject: Small formatting cleanup, before chi11ken notices. Me bad. --- OpenSim/Data/SQLite/SQLiteRegionData.cs | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) (limited to 'OpenSim/Data/SQLite/SQLiteRegionData.cs') diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index f71535f..13f9938 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs @@ -205,44 +205,53 @@ namespace OpenSim.Data.SQLite public void Dispose() { - if(m_conn != null) { + if (m_conn != null) + { m_conn.Close(); m_conn = null; } - if(ds != null) { + if (ds != null) + { ds.Dispose(); ds = null; } - if(primDa != null) { + if (primDa != null) + { primDa.Dispose(); primDa = null; } - if(shapeDa != null) { + if (shapeDa != null) + { shapeDa.Dispose(); shapeDa = null; } - if(itemsDa != null) { + if (itemsDa != null) + { itemsDa.Dispose(); itemsDa = null; } - if(terrainDa != null) { + if (terrainDa != null) + { terrainDa.Dispose(); terrainDa = null; } - if(landDa != null) { + if (landDa != null) + { landDa.Dispose(); landDa = null; } - if(landAccessListDa != null) { + if (landAccessListDa != null) + { landAccessListDa.Dispose(); landAccessListDa = null; } - if(regionSettingsDa != null) { + if (regionSettingsDa != null) + { regionSettingsDa.Dispose(); regionSettingsDa = null; } } - + public void StoreRegionSettings(RegionSettings rs) { lock (ds) -- cgit v1.1