git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit 00e7db8711f7d7546b824e7daa297243d553b464

add don't start the message loop untill creation is done

Signed-off-by: wanderer <mjbecze@gmail.com>
wanderer committed on 12/13/2017, 5:23:53 AM
Parent: de71a0149a10c40bfb94cc8e121223e6b887f685

Files changed

actor.jschanged
actor.jsView
@@ -52,9 +52,11 @@
5252 * @param {object} message
5353 * @returns {Promise}
5454 */
5555 create (message) {
56+ this.running = true
5657 return this.runMessage(message, 'onCreation').then(() => {
58+ this.running = false
5759 this._startMessageLoop()
5860 })
5961 }
6062

Built with git-ssb-web