Wait for readyness before sending msg to subproc
This commit is contained in:
parent
7c142aa4dd
commit
38e374c329
1 changed files with 3 additions and 1 deletions
|
|
@ -387,7 +387,9 @@ function createReplica(path, afterMap = false) {
|
||||||
path,
|
path,
|
||||||
type: 'load'
|
type: 'load'
|
||||||
}
|
}
|
||||||
currentGun.send(msg)
|
isReady().then(() => {
|
||||||
|
currentGun.send(msg)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
return this
|
return this
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue