()
| 2074 | close(); |
| 2075 | }; |
| 2076 | var waitForUpgrade = function waitForUpgrade() { |
| 2077 | class="cm">// wait for upgrade to finish since we can't send packets while pausing a transport |
| 2078 | _this6.once(class="st">"upgrade", cleanupAndClose); |
| 2079 | _this6.once(class="st">"upgradeError", cleanupAndClose); |
| 2080 | }; |
| 2081 | if (class="st">"opening" === this.readyState || class="st">"open" === this.readyState) { |
| 2082 | this.readyState = class="st">"closing"; |
| 2083 | if (this.writeBuffer.length) { |
no outgoing calls
no test coverage detected