diff --git a/web/share/js/kvm/session.js b/web/share/js/kvm/session.js index a97b1a3b..d3bd7f94 100644 --- a/web/share/js/kvm/session.js +++ b/web/share/js/kvm/session.js @@ -393,15 +393,14 @@ export function Session() { __ping_timer = null; } - __ocr.setState(null); __gpio.setState(null); - __hid.setSocket(null); - __recorder.setSocket(null); - + __hid.setSocket(null); // auto setState(null); __paste.setState(null); __atx.setState(null); __msd.setState(null); __streamer.setState(null); + __ocr.setState(null); + __recorder.setSocket(null); __ws = null; setTimeout(function() {