box-drawing
cpsdqs 7 years ago
parent b18a0f3890
commit 0b6e4439bc
Signed by untrusted user: cpsdqs
GPG Key ID: 3F59586BB7448DD1
  1. 2
      js/term/connection.js

@ -129,7 +129,7 @@ module.exports = class TermConnection extends EventEmitter {
closeSocket () { closeSocket () {
if (this.ws) { if (this.ws) {
this.forceClosing = true this.forceClosing = true
this.ws.close() if (this.ws.readyState === 1) this.ws.close()
this.ws = null this.ws = null
} }
} }

Loading…
Cancel
Save