# LibTmux.ServerMirror.DisposeAsync

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Snapshots/ServerMirror.cs#L257
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-servermirror-disposeasync/

```
LibTmux.ServerMirror.DisposeAsync() -> ValueTask
```

Stops listening and detaches the control client; the last view stays readable.

## Returns

A task that completes when the mirror has stopped.
