6654ac1151
The pending promise should nott be resolved until the changes are complete. Previously the resolution of the pendingPromise was triggering the other changes.