mirror of
https://github.com/Radarr/Radarr
synced 2026-01-16 04:23:16 +01:00
Fixed: Move migration dispose after try
This commit is contained in:
parent
db321a5d1e
commit
ca6ff0d067
1 changed files with 2 additions and 2 deletions
|
|
@ -50,8 +50,6 @@ public void Migrate(string connectionString, MigrationContext migrationContext)
|
|||
{
|
||||
runner.MigrateUp(true);
|
||||
}
|
||||
|
||||
processor.Dispose();
|
||||
}
|
||||
catch (SQLiteException)
|
||||
{
|
||||
|
|
@ -60,6 +58,8 @@ public void Migrate(string connectionString, MigrationContext migrationContext)
|
|||
throw;
|
||||
}
|
||||
|
||||
processor.Dispose();
|
||||
|
||||
sw.Stop();
|
||||
|
||||
_announcer.ElapsedTime(sw.Elapsed);
|
||||
|
|
|
|||
Loading…
Reference in a new issue