1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 02:22:31 +01:00

Terminate Sonarr instance created during integration tests by Process ID

This commit is contained in:
Mark McDowall 2015-10-01 13:52:33 -07:00
parent 99f6c65b76
commit 986dae590b

View File

@ -78,6 +78,11 @@ public void Start()
public void KillAll()
{
if (_nzbDroneProcess != null)
{
_processProvider.Kill(_nzbDroneProcess.Id);
}
_processProvider.KillAll(ProcessProvider.NZB_DRONE_CONSOLE_PROCESS_NAME);
_processProvider.KillAll(ProcessProvider.NZB_DRONE_PROCESS_NAME);
}