fix: add forgotten changes
All checks were successful
.NET Test Pipeline / build-and-test (push) Successful in 2m35s
Build and Deploy Docker Container / build-and-deploy (push) Successful in 4m2s

This commit is contained in:
Polianin Nikita 2024-09-08 03:24:32 +03:00
parent e8450400c7
commit 332e5a013b

View File

@ -90,10 +90,11 @@ public class SetupController(
{ {
try try
{ {
using var connection = new TConnection(); using (var connection = new TConnection())
connection.ConnectionString = connectionString; {
connection.Open(); connection.ConnectionString = connectionString;
connection.Close(); connection.Open();
connection.Close();
if (connection is SqliteConnection) if (connection is SqliteConnection)
SqliteConnection.ClearAllPools(); SqliteConnection.ClearAllPools();