ensure remixd connected

pull/1/head
yann300 7 years ago
parent 51253452f7
commit e2328bed71
  1. 6
      src/app/files/shared-folder.js

@ -49,8 +49,10 @@ module.exports = class SharedFolder {
}
init (cb) {
this._isReady = true
cb()
this._remixd.ensureSocket((error) => {
this._isReady = !error
cb(error)
})
}
// @TODO: refactor all `this._remixd.call(....)` uses into `this.remixd[api](...)`

Loading…
Cancel
Save