fix: do not throw error on socket closed while opening (#1576)
This commit is contained in:
@@ -345,7 +345,6 @@ export const makeSocket = (config: SocketConfig) => {
|
||||
clearTimeout(qrTimer)
|
||||
|
||||
ws.removeAllListeners('close')
|
||||
ws.removeAllListeners('error')
|
||||
ws.removeAllListeners('open')
|
||||
ws.removeAllListeners('message')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user