Skip to content

Commit

Permalink
Implement SQLiteAsyncConnection.ResetPool
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanNieburViewpoint committed Nov 24, 2015
1 parent 0e8bc3e commit 6c59e40
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/SQLiteAsync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ public SQLiteAsyncConnection(string databasePath, SQLiteOpenFlags openFlags, boo
_connectionString = new SQLiteConnectionString(databasePath, storeDateTimeAsTicks);
}

public static void ResetPool()
{
SQLiteConnectionPool.Shared.Reset();
}

SQLiteConnectionWithLock GetConnection ()
{
return SQLiteConnectionPool.Shared.GetConnection (_connectionString, _openFlags);
Expand Down

0 comments on commit 6c59e40

Please sign in to comment.