diff options
| author | JPVenson <github@jpb.email> | 2024-11-12 07:16:24 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.email> | 2024-11-12 07:16:24 +0000 |
| commit | 510b29f2a412990bfb4efb5a1a8062c66b290ff8 (patch) | |
| tree | c78652d1600ab3435a02432ed269fa23f422448a | |
| parent | 00c4f2327664b6e4306c3eaec7e303ed5940d1b1 (diff) | |
Fixed dangling connections keept open on window migration
| -rw-r--r-- | Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs index a440bc6d6..64c926e51 100644 --- a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs +++ b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs @@ -272,6 +272,8 @@ public class MigrateLibraryDb : IMigrationRoutine connection.Close(); _logger.LogInformation("Migration of the Library.db done."); _logger.LogInformation("Move {0} to {1}.", libraryDbPath, libraryDbPath + ".old"); + + SqliteConnection.ClearAllPools(); File.Move(libraryDbPath, libraryDbPath + ".old"); _logger.LogInformation("Migrating Library db took {0}.", migrationTotalTime); |
