mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-03 16:24:01 +01:00
Merge pull request #11677 from Bond-009/migrateuserdb
Properly dispose dbContext in MigrateUserDb
This commit is contained in:
commit
9b98638b2b
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ namespace Jellyfin.Server.Migrations.Routines
|
|||
using (var connection = new SqliteConnection($"Filename={Path.Combine(dataPath, DbFilename)}"))
|
||||
{
|
||||
connection.Open();
|
||||
var dbContext = _provider.CreateDbContext();
|
||||
using var dbContext = _provider.CreateDbContext();
|
||||
|
||||
var queryResult = connection.Query("SELECT * FROM LocalUsersv2");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue