mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-26 22:48:20 +01:00
Fix SQLite setup wizard issue again
This commit is contained in:
@@ -276,9 +276,12 @@ namespace Tgstation.Server.Host.Setup
|
||||
}
|
||||
|
||||
if (isSqliteDB && !dbExists)
|
||||
await Task.WhenAll(
|
||||
console.WriteAsync("Deleting test database file...", true, cancellationToken),
|
||||
ioManager.DeleteFile(databaseName, cancellationToken));
|
||||
{
|
||||
await console.WriteAsync("Deleting test database file...", true, cancellationToken);
|
||||
if (platformIdentifier.IsWindows)
|
||||
SqliteConnection.ClearAllPools();
|
||||
await ioManager.DeleteFile(databaseName, cancellationToken);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user