mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07: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 @@ namespace NzbDrone.Core.Datastore.Migration.Framework
|
|||
{
|
||||
runner.MigrateUp(true);
|
||||
}
|
||||
|
||||
processor.Dispose();
|
||||
}
|
||||
catch (SQLiteException)
|
||||
{
|
||||
|
@ -60,6 +58,8 @@ namespace NzbDrone.Core.Datastore.Migration.Framework
|
|||
throw;
|
||||
}
|
||||
|
||||
processor.Dispose();
|
||||
|
||||
sw.Stop();
|
||||
|
||||
_announcer.ElapsedTime(sw.Elapsed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue