Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit 1d2ef2e

Browse files
author
Eric Andrews
committed
fix 'subscribe with resend options' tests
1 parent 5f81f88 commit 1d2ef2e

File tree

2 files changed

+157
-123
lines changed

2 files changed

+157
-123
lines changed

streamr-client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@
468468
}
469469

470470
Connection.prototype.disconnect = function() {
471-
if (this.socket !== undefined && (connected || connecting)) {
471+
if (this.socket !== undefined && (this.connected || this.connecting)) {
472472
this.disconnecting = true
473473
this.socket.close()
474474
}

0 commit comments

Comments
 (0)