missing return after forceClose
This commit is contained in:
parent
9e97e185ad
commit
da16128bf6
@ -610,6 +610,7 @@ function doConnect (socket, port, host) {
|
|||||||
connect(socket.fd, port, host);
|
connect(socket.fd, port, host);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
socket.forceClose(e);
|
socket.forceClose(e);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't start the read watcher until connection is established
|
// Don't start the read watcher until connection is established
|
||||||
|
Loading…
x
Reference in New Issue
Block a user