mojo: Simplify update code and fix deadlock with update failure.

Authored by mpyne on Sep 21 2018, 4:40 AM.

Description

mojo: Simplify update code and fix deadlock with update failure.

I need to reject the promise being waited on instead of returning a new
one (oops), otherwise the whole thing deadlocks waiting on a rejection
that will never come.

The upside is that I was able to safely remove a lot of update code,
though other changes are needed to make that work right.

Details

Committed
mpyneSep 21 2018, 4:42 AM
Parents
R365:dbde741cca51: mojo: Use "promise chain" to drive main build flow.
Branches
Unknown
Tags
Unknown