重置时 先关socket

dev_aliyun_beta
hjm 5 years ago
parent aa28fdfe9a
commit 558c8042d8

@ -145,6 +145,9 @@ class WebSSHTimer extends Component {
}
// 重置命令行的时候调用的接口会删pod
closeWebssh = (callback) => {
// 先关socket
this.closeWebsshSocket()
const { game } = this.props;
// const url = `/api/v1/games/${game.identifier}/close_webssh`
const url = `/tasks/${game.identifier}/close_webssh.json`

Loading…
Cancel
Save