- 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)
This commit is contained in:
Homer Horwitz
2008-09-18 20:10:09 +00:00
parent 48978ba3e0
commit 1c08f46ec3
9 changed files with 115 additions and 10 deletions

View File

@@ -56,7 +56,14 @@ namespace OpenSim.Data.SQLite
private SqliteConnection m_conn;
override public void Dispose() { }
override public void Dispose()
{
if (m_conn != null)
{
m_conn.Close();
m_conn = null;
}
}
/// <summary>
/// <list type="bullet">