(to)
| 2076 | } |
| 2077 | // When the socket is upgraded while we're probing |
| 2078 | function onupgrade(to) { |
| 2079 | if (transport && to.name !== transport.name) { |
| 2080 | freezeTransport(); |
| 2081 | } |
| 2082 | } |
| 2083 | // Remove all listeners on the transport and on self |
| 2084 | var cleanup = function cleanup() { |
| 2085 | transport.removeListener("open", onTransportOpen); |
nothing calls this directly
no test coverage detected