Fixed: Move migration dispose after try

pull/6/head
Qstick 5 years ago
parent db321a5d1e
commit ca6ff0d067

@ -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…
Cancel
Save