~PrivateData() { if ( m_success ) { m_acceptor.cancel(); m_acceptor.close(); m_thread.join(); } }
~TCPServer() { acceptor.cancel(); }
void stop() { acceptor_.cancel(); }