void IRCConnection::connect(const clan::SocketName &new_server) { disconnect_abortive(); stop_event.reset(); queues.reset(); shutdown_graceful.set(0); server = new_server; thread_worker.start(this, &IRCConnection::worker_main); }
IRCConnection::~IRCConnection() { disconnect_abortive(); }
IRCSession::~IRCSession() { disconnect_abortive(); }
Win32Socket::~Win32Socket() { disconnect_abortive(); }