Fixed migration filenames, check if process has exited before waiting for exit

pull/4/head
Mark McDowall 11 years ago
parent c0fb53c7f6
commit ea6e858dbf

@ -189,8 +189,12 @@ namespace NzbDrone.Common.Processes
public void WaitForExit(Process process)
{
Logger.Trace("Waiting for process {0} to exit.", process.ProcessName);
if (!process.HasExited)
{
process.WaitForExit();
}
}
public void SetPriority(int processId, ProcessPriorityClass priority)
{

@ -195,8 +195,8 @@
<Compile Include="Datastore\Migration\036_update_with_quality_converters.cs" />
<Compile Include="Datastore\Migration\037_add_configurable_qualities.cs" />
<Compile Include="Datastore\Migration\038_add_on_upgrade_to_notifications.cs" />
<Compile Include="Datastore\Migration\039_add_metadata_to_episodes_and_series.cs" />
<Compile Include="Datastore\Migration\040_add_metadata_tables.cs" />
<Compile Include="Datastore\Migration\040_add_metadata_to_episodes_and_series.cs" />
<Compile Include="Datastore\Migration\039_add_metadata_tables.cs" />
<Compile Include="Datastore\Migration\Framework\MigrationContext.cs" />
<Compile Include="Datastore\Migration\Framework\MigrationController.cs" />
<Compile Include="Datastore\Migration\Framework\MigrationExtension.cs" />

Loading…
Cancel
Save