# libtmux::CommandRuntime::close

- **Module:** libtmux::CommandRuntime
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/async.hpp#L96
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-commandruntime-close/

```
libtmux::CommandRuntime::close() -> CommandRuntimeShutdown
```

Joins every owned thread without invoking or discarding observers, and does not return or throw until every blocked `wait_ready` caller has left.

The first successful report is cached; a throwing shutdown can be retried.
