candy-chat / candy

JavaScript-based multi-user chat client for XMPP.
http://candy-chat.github.io/candy
MIT License
1.33k stars 370 forks source link

Data frame received after close #501

Open zh99998 opened 7 years ago

zh99998 commented 7 years ago

I'm connect using websocket protocol, and after I close all tabs, it will remains at Status: 2, not Disconnected.

console says:

WebSocket connection to 'wss://chat.mycard.moe:5280/websocket' failed: Data frame received after close
Uncaught TypeError: Cannot read property 'readyState' of null