Amp v2.0.3 Release Notes
Release Date: 2017-11-07 // over 6 years ago-
Loop::set()
replaces the current driver with a dummy driver for the time ofgc_collect_cycles()
now. This allows cyclic references to be cleaned up properly before the new driver is set. Without such a fix, cyclic references might have been cleaned up later, e.g. cancelling their watcher IDs on the new loop, thereby cancelling the wrong watchers.- Promise combinator functions (
all()
,any()
,first()
,some()
) now preserve order of the given$promises
array argument.