Method Dispose()

Assembly: redb.SQLite.dll

Releases the connection pool of this data source's connection string. The pools of
Microsoft.Data.Sqlite are static, keyed by connection string, and a pooled handle keeps
the database FILE open (locked, on Windows) - so without this, a container that dies
(test host teardown, a hot-reloaded module) leaves the file locked until process exit.
The DI registrations are factories, so the container disposes the data source it
created. ClearPool touches only this connection string; another live container on the
same string is unaffected beyond refilling the pool on its next open.

public void Dispose()