Skip to content

Commit d652b61

Browse files
thorn0jleyba
authored andcommitted
[js] error looking for free port -> process halts (#3664)
I've gotten `UnhandledPromiseRejectionWarning` a couple of times, and, after investigating, found this.
1 parent 155812f commit d652b61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

javascript/node/selenium-webdriver/net/portprober.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ function findFreePort(opt_host) {
191191
} else {
192192
findPort();
193193
}
194-
});
194+
}, findPort);
195195
}
196196
});
197197
});

0 commit comments

Comments
 (0)