Update line_connection.ts
This commit is contained in:
parent
8ddccf6586
commit
da8c0f418b
|
|
@ -272,6 +272,7 @@ export default class LineConnection {
|
|||
async writeCommand(cmd: string | Buffer<ArrayBuffer>, userName = '') {
|
||||
if (this.client.destroyed) {
|
||||
console.log(`⚠️ Cannot send, line ${this.config.lineNumber} is closed`)
|
||||
this.disconnect()
|
||||
// this.disconnect()
|
||||
// await sleep(2000)
|
||||
// await this.connect()
|
||||
|
|
|
|||
Loading…
Reference in New Issue