diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteAssetData.cs | 9 |
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"> |