aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteUserData.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/SQLite/SQLiteUserData.cs25
1 files changed, 24 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteUserData.cs b/OpenSim/Data/SQLite/SQLiteUserData.cs
index 2c1e3c3..a238ebf 100644
--- a/OpenSim/Data/SQLite/SQLiteUserData.cs
+++ b/OpenSim/Data/SQLite/SQLiteUserData.cs
@@ -122,7 +122,30 @@ namespace OpenSim.Data.SQLite
122 return; 122 return;
123 } 123 }
124 124
125 public override void Dispose () {} 125 public override void Dispose ()
126 {
127 if(g_conn != null) {
128 g_conn.Close();
129 g_conn = null;
130 }
131 if(ds != null) {
132 ds.Dispose();
133 ds = null;
134 }
135 if(da != null) {
136 da.Dispose();
137 da = null;
138 }
139 if(daf != null) {
140 daf.Dispose();
141 daf = null;
142 }
143 if(dua != null) {
144 dua.Dispose();
145 dua = null;
146 }
147 aplist = null;
148 }
126 149
127 /// <summary> 150 /// <summary>
128 /// see IUserDataPlugin, 151 /// see IUserDataPlugin,