* 断开服务器连接
(serverName: string)
| 179 | * 断开服务器连接 |
| 180 | */ |
| 181 | async disconnectFromServer(serverName: string): Promise<void> { |
| 182 | const session = this.sessions.get(serverName); |
| 183 | if (session && this.client) { |
| 184 | await this.client.disconnect(session.id); |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | /** |
| 189 | * 加载服务器资源 |
nothing calls this directly
no test coverage detected