def terminate(self, pid):
    self._assert_started()

    log.info('Terminating %s' % pid)
    process = self._processes.pop(pid, None)
    if process:
      log.info('Unmounting %s' % process)
      self.http.unmount_process(process)
    self.__erase_link(pid)
Terminate a process bound to this context.
dataset/ETHPy150Open wickman/compactor/compactor/context.py/Context.terminate