mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-25 19:09:00 +00:00
Fixed: Move migration dispose after try
This commit is contained in:
@@ -50,8 +50,6 @@ namespace NzbDrone.Core.Datastore.Migration.Framework
|
|||||||
{
|
{
|
||||||
runner.MigrateUp(true);
|
runner.MigrateUp(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
processor.Dispose();
|
|
||||||
}
|
}
|
||||||
catch (SQLiteException)
|
catch (SQLiteException)
|
||||||
{
|
{
|
||||||
@@ -60,6 +58,8 @@ namespace NzbDrone.Core.Datastore.Migration.Framework
|
|||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
processor.Dispose();
|
||||||
|
|
||||||
sw.Stop();
|
sw.Stop();
|
||||||
|
|
||||||
_announcer.ElapsedTime(sw.Elapsed);
|
_announcer.ElapsedTime(sw.Elapsed);
|
||||||
|
|||||||
Reference in New Issue
Block a user