def remove_consumer_process(self, consumer, name):
        """Remove all details for the specified consumer and process name.

        :param str consumer: The consumer name
        :param str name: The process name

        """
        my_pid = os.getpid()
        for conn in self.consumers[consumer].connections:
            if name in self.consumers[consumer].connections[conn]:
                self.consumers[consumer].connections[conn].remove(name)
        if name in self.consumers[consumer].processes:
            child = self.consumers[consumer].processes[name]
            if child.is_alive():
                if child.pid != my_pid:
                    try:
                        child.terminate()
                    except __HOLE__:
                        pass
                else:
                    LOGGER.debug('Child has my pid? %r, %r', my_pid, child.pid)
            del self.consumers[consumer].processes[name]
dataset/ETHPy150Open gmr/rejected/rejected/mcp.py/MasterControlProgram.remove_consumer_process