1
0
mirror of https://github.com/danog/amp.git synced 2024-11-30 04:29:08 +01:00

Prepare v2.0.3

This commit is contained in:
Niklas Keller 2017-11-07 10:04:49 +01:00
parent abe92a78ad
commit 34ca09bee3

View File

@ -1,4 +1,4 @@
### Unreleased
### 2.0.3
- `Loop::set()` replaces the current driver with a dummy driver for the time of `gc_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.