mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
There are rare error cases when transport could stay open in the background even if socket is closed, so it is better to always call `this.transport.close()` in Socket#onClose as it is idempotent and safe to call multiple times.