(to)
| 2261 | } |
| 2262 | // When the socket is upgraded while we're probing |
| 2263 | function onupgrade(to) { |
| 2264 | if (transport && to.name !== transport.name) { |
| 2265 | freezeTransport(); |
| 2266 | } |
| 2267 | } |
| 2268 | // Remove all listeners on the transport and on self |
| 2269 | var cleanup = function cleanup() { |
| 2270 | transport.removeListener("open", onTransportOpen); |
nothing calls this directly
no test coverage detected