peer: remove co.wait call.
This commit is contained in:
parent
f1f112b6c6
commit
724c9f66e7
@ -522,7 +522,7 @@ Peer.prototype.initConnect = function initConnect() {
|
||||
|
||||
if (this.connected) {
|
||||
assert(!this.outbound);
|
||||
return co.wait();
|
||||
return;
|
||||
}
|
||||
|
||||
return new Promise(function(resolve, reject) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user