code: func (p *Plugin) Delete(name string) error {
  	var updated []*Process
  	for _, pr := range p.processes {
  		if pr.name == name {
  			if err := pr.deleteProcess(); err != nil {
  				return err
  			}
  		} else {
  			updated = append(updated, pr)
  		}
  	}
  
  	p.processes = updated
  
  	return nil
  }
docs: // Delete releases the process resources and removes it from the plugin cache