aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteUserData.cs
diff options
context:
space:
mode:
authorHomer Horwitz2008-09-19 21:32:41 +0000
committerHomer Horwitz2008-09-19 21:32:41 +0000
commit025441d722b6fa175cccb674aa4a08a34093323e (patch)
treefffff4f838a409bd0b57e82f70408f5eaff2fb41 /OpenSim/Data/SQLite/SQLiteUserData.cs
parentadd in bits to attempt to enable log4net on these tests to help when debugging (diff)
downloadopensim-SC_OLD-025441d722b6fa175cccb674aa4a08a34093323e.zip
opensim-SC_OLD-025441d722b6fa175cccb674aa4a08a34093323e.tar.gz
opensim-SC_OLD-025441d722b6fa175cccb674aa4a08a34093323e.tar.bz2
opensim-SC_OLD-025441d722b6fa175cccb674aa4a08a34093323e.tar.xz
Small formatting cleanup, before chi11ken notices. Me bad.
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteUserData.cs')
-rw-r--r--OpenSim/Data/SQLite/SQLiteUserData.cs15
1 files changed, 10 insertions, 5 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteUserData.cs b/OpenSim/Data/SQLite/SQLiteUserData.cs
index a238ebf..f847ba9 100644
--- a/OpenSim/Data/SQLite/SQLiteUserData.cs
+++ b/OpenSim/Data/SQLite/SQLiteUserData.cs
@@ -124,23 +124,28 @@ namespace OpenSim.Data.SQLite
124 124
125 public override void Dispose () 125 public override void Dispose ()
126 { 126 {
127 if(g_conn != null) { 127 if (g_conn != null)
128 {
128 g_conn.Close(); 129 g_conn.Close();
129 g_conn = null; 130 g_conn = null;
130 } 131 }
131 if(ds != null) { 132 if (ds != null)
133 {
132 ds.Dispose(); 134 ds.Dispose();
133 ds = null; 135 ds = null;
134 } 136 }
135 if(da != null) { 137 if (da != null)
138 {
136 da.Dispose(); 139 da.Dispose();
137 da = null; 140 da = null;
138 } 141 }
139 if(daf != null) { 142 if (daf != null)
143 {
140 daf.Dispose(); 144 daf.Dispose();
141 daf = null; 145 daf = null;
142 } 146 }
143 if(dua != null) { 147 if (dua != null)
148 {
144 dua.Dispose(); 149 dua.Dispose();
145 dua = null; 150 dua = null;
146 } 151 }