mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
fixed broken tests
This commit is contained in:
parent
4c810ca607
commit
c59fe4e674
7 changed files with 40 additions and 40 deletions
|
@ -1,4 +1,5 @@
|
|||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using NLog;
|
||||
|
@ -111,9 +112,14 @@ namespace NzbDrone.Common
|
|||
};
|
||||
}
|
||||
|
||||
public void KillAll(string nzbdrone)
|
||||
public virtual void KillAll(string processName)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
var processToKill = GetProcessByName(processName);
|
||||
|
||||
foreach (var processInfo in processToKill)
|
||||
{
|
||||
Kill(processInfo.Id);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue