protected override bool HandleCore(IRunningProcess aProcess) { aProcess.Hooks().ForEach(h => _view.RemoveHook(h)); _view.RemoveRunningProcess(aProcess); _presenter.ClearDisplayedFunctionsIfModuleIsNoLongerDisplayed(); return(true); }
private void RemoveRunningProcess(IRunningProcess aProcess) { _view.RemoveRunningProcess(aProcess); if (!_selectedProcesses.Contains(aProcess)) { return; } RemoveRunningProcessFromSelection(aProcess); }