destroy method
void
destroy(
- dynamic socket
Called upon a socket close.
@param {Socket} socket
Implementation
void destroy(socket) {
connecting.remove(socket);
if (connecting.isNotEmpty) return;
close();
}