mirror of
https://github.com/Radarr/Radarr
synced 2025-01-18 21:52:10 +00:00
Terminate Sonarr instance created during integration tests by Process ID
This commit is contained in:
parent
99f6c65b76
commit
986dae590b
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue