Uninstall event handlers when replacing WebSocket instance
Ensures we don't get "onclose" events from a previous WebSocket that was in the "closing" state
Showing
想要评论请 注册 或 登录
Ensures we don't get "onclose" events from a previous WebSocket that was in the "closing" state