()
| 133 | }; |
| 134 | |
| 135 | const closeConnecting = () => { |
| 136 | if (this.closeFn && typeof this.closeFn === 'function') { |
| 137 | this.closeFn(); |
| 138 | this.closeFn = null; |
| 139 | } |
| 140 | }; |
| 141 | |
| 142 | // 网络状态管理 |
| 143 | socket.on('connect', () => { |
nothing calls this directly
no outgoing calls
no test coverage detected