# Libtmux_unix.Cleanup.phase

- **Module:** Libtmux_unix
- **Package:** libtmux-unix
- **Language:** OCaml
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/unix/libtmux_unix.mli#L20
- **Public owner:** Libtmux_unix
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux_unix-cleanup-phase/

```
type phase = Cleanup.phase =
  | Close_pipe 
  | Open_pidfd 
  | Close_pidfd 
  | Terminate 
  | Grace 
  | Kill 
  | Reap 
  | Unreaped_child 
  | Cancel_workers 
  | Release_hook 
  | Notify_waiters 
```

## Members

### Common operations

- [`Unreaped_child`](/en/ocaml/latest/reference/libtmux_unix-cleanup-phase-unreaped_child/) (constant)
- [`Open_pidfd`](/en/ocaml/latest/reference/libtmux_unix-cleanup-phase-open_pidfd/) (constant)

### Other members

- [`Cancel_workers`](/en/ocaml/latest/reference/libtmux_unix-cleanup-phase-cancel_workers/) (constant)
- [`Close_pidfd`](/en/ocaml/latest/reference/libtmux_unix-cleanup-phase-close_pidfd/) (constant)
- [`Close_pipe`](/en/ocaml/latest/reference/libtmux_unix-cleanup-phase-close_pipe/) (constant)
- [`Grace`](/en/ocaml/latest/reference/libtmux_unix-cleanup-phase-grace/) (constant)
- [`Kill`](/en/ocaml/latest/reference/libtmux_unix-cleanup-phase-kill/) (constant)
- [`Notify_waiters`](/en/ocaml/latest/reference/libtmux_unix-cleanup-phase-notify_waiters/) (constant)
- [`Reap`](/en/ocaml/latest/reference/libtmux_unix-cleanup-phase-reap/) (constant)
- [`Release_hook`](/en/ocaml/latest/reference/libtmux_unix-cleanup-phase-release_hook/) (constant)
- [`Terminate`](/en/ocaml/latest/reference/libtmux_unix-cleanup-phase-terminate/) (constant)
