mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
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