Right, but if you rewrite your for loop to be:
`for (var i = 0; i < componentsWithPendingUpdates.length; i++) {`

won't that continue to loop until its enhausted? Then we just truncate the array at the end.