mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-18 21:35:27 -04:00
Terminate Sonarr instance created during integration tests by Process ID
This commit is contained in:
@@ -78,6 +78,11 @@ namespace NzbDrone.Test.Common
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user