注册

WEBIM 每次主动调用close关闭连接,都出现连接中断错误

easemob-websdk:v1.4.10
strophe:v1.2.8
浏览器:谷歌
 
SDK的其他接口都没有问题,就是调用关闭接口的时候出现以下问题
strophe-1.2.8.min.js:formatted:1947
WebSocket connection to 'ws://im-api.easemob.com/ws/' failed: Data frame received after close

message: {
msg:"The WebSocket connection could not be established or was disconnected.",
reconnect:true,
type:7
}
请问这个问题怎么解决?
已邀请:
我的代码:
if (conn.isOpened()) {
conn.close()
}

要回复问题请先登录注册