# DescriptorDrain.stop()

- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/e72fb5c17ab54996233b76b037c3b94a46e55685/Tests/TmuxFixture/DescriptorDrain.swift#L42
- **Page:** https://libtmux.org/en/swift/latest/reference/descriptordrain-stop()/

```
stop() -> ()
```

Stops the reader and waits until it has exited. Safe to call once.
