mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fixed dangling connections keept open on window migration
This commit is contained in:
parent
00c4f23276
commit
510b29f2a4
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user