Skip to content

Commit fa2a5ee

Browse files
authored
Merge pull request #92 from xPaw/patch-1
Reset requested_disconnect when calling connect
2 parents dd79252 + 2f8d07e commit fa2a5ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/connection.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Connection.prototype.connect = function(options) {
6565

6666
bindTransportEvents(transport);
6767

68+
this.requested_disconnect = false;
6869
this.emit('connecting');
6970
transport.connect();
7071

0 commit comments

Comments
 (0)