mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
disconnect even if not connected.
This commit is contained in:
parent
0554b69d82
commit
8c7030470d
@ -285,10 +285,6 @@
|
||||
}
|
||||
|
||||
public disconnect() {
|
||||
if (!this.connected) {
|
||||
throw new Error('client is not connected')
|
||||
}
|
||||
|
||||
this.connection.close()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user