# libtmux::CommandRuntimeShutdown

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/async.hpp#L60
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-commandruntimeshutdown/

The first successful `close` report; every later call returns this value.

Discharge result and observer work first when `safe_to_unload` must be true.

## Members

- `pending_results` (attribute): Result obligations outstanding when the first close succeeded.
- `pending_observers` (attribute): Observer obligations outstanding when the first close succeeded.
- `transports_stopped` (attribute): Whether every owned child and transport thread retired.
- `safe_to_unload` (attribute): True only when transports and pending work ended and no caller-side readiness wait, dispatch or discard, including callback-target teardown, remains active.
- `failure` (attribute): The first runtime lifecycle failure; an operation may also carry it.
