aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteAssetData.cs
diff options
context:
space:
mode:
authorHomer Horwitz2008-09-18 20:10:09 +0000
committerHomer Horwitz2008-09-18 20:10:09 +0000
commit1c08f46ec3397f4e4fd5897107c0df89bec70d84 (patch)
tree9c6896ead729fcf0f0a9357f4a232ce2ad1d6106 /OpenSim/Data/SQLite/SQLiteAssetData.cs
parent* Apply http://opensimulator.org/mantis/view.php?id=2212 (diff)
downloadopensim-SC-1c08f46ec3397f4e4fd5897107c0df89bec70d84.zip
opensim-SC-1c08f46ec3397f4e4fd5897107c0df89bec70d84.tar.gz
opensim-SC-1c08f46ec3397f4e4fd5897107c0df89bec70d84.tar.bz2
opensim-SC-1c08f46ec3397f4e4fd5897107c0df89bec70d84.tar.xz
- Add Dispose method to IRegionDataStore
- Add necessary dummy Dispose-methods where they are missing - Implement the SQLite Dispose-methods (currently only used for unit tests, in the next commit)
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteAssetData.cs')
-rw-r--r--OpenSim/Data/SQLite/SQLiteAssetData.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteAssetData.cs b/OpenSim/Data/SQLite/SQLiteAssetData.cs
index 8b14f09..17af2b0 100644
--- a/OpenSim/Data/SQLite/SQLiteAssetData.cs
+++ b/OpenSim/Data/SQLite/SQLiteAssetData.cs
@@ -56,7 +56,14 @@ namespace OpenSim.Data.SQLite
56 56
57 private SqliteConnection m_conn; 57 private SqliteConnection m_conn;
58 58
59 override public void Dispose() { } 59 override public void Dispose()
60 {
61 if (m_conn != null)
62 {
63 m_conn.Close();
64 m_conn = null;
65 }
66 }
60 67
61 /// <summary> 68 /// <summary>
62 /// <list type="bullet"> 69 /// <list type="bullet">