Browse Source

fix missing await

session-estimator
Mathias Buus 3 years ago
parent
commit
91eba27631
  1. 2
      lib/io.js

2
lib/io.js

@ -133,7 +133,7 @@ module.exports = class IO {
}
async _bindSockets () {
this.serverSocket = typeof this._bind === 'function' ? this._bind() : await bind.udp(this._bind)
this.serverSocket = typeof this._bind === 'function' ? await this._bind() : await bind.udp(this._bind)
try {
// TODO: we should reroll the socket is it's close to our preferred range of ports

Loading…
Cancel
Save