mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Add a db.Dispose before calling Delete on the SQLite database.
On Windows, you are not able to delete a file while there is still a handle to it open.
This commit is contained in:
@@ -55,6 +55,7 @@ namespace OpenSim.Data.SQLite.Tests
|
||||
[TestFixtureTearDown]
|
||||
public void Cleanup()
|
||||
{
|
||||
db.Dispose();
|
||||
System.IO.File.Delete(file);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user