TcpListener.dispose

void dispose() @trusted nothrow

Dispose the listener and its watcher registration.

Idempotent (TERMINOLOGY.md). Releases all resources immediately. No callbacks fire after dispose() returns.