mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
win: fix simple/test-tls-client-abort.js
This commit is contained in:
@@ -440,15 +440,16 @@ Socket.prototype.connect = function(port /* [host], [cb] */) {
|
||||
|
||||
function afterConnect(status, handle, req) {
|
||||
var self = handle.socket;
|
||||
assert.equal(handle, self._handle);
|
||||
|
||||
debug("afterConnect");
|
||||
|
||||
// callback may come after call to destroy
|
||||
if (self.destroyed) {
|
||||
return;
|
||||
}
|
||||
|
||||
assert.equal(handle, self._handle);
|
||||
|
||||
debug("afterConnect");
|
||||
|
||||
assert.ok(self._connecting);
|
||||
self._connecting = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user