Check uses of _nullFuture to see if they preserve zones properly.
An optimization to use _Future._nullFuture had to be reverted (73f45d6)
Apparently starting an async function has to use a Future in the current zone, even though the called 'then' function is wrapped in the zone.
Trying to optimize this to _nullFuture (in the root zone) broke a customer tests.
@floitschG I don't really understand why this should matter, since _Future._thenNoZoneRegistration creates another _Future in the current zone.
Check uses of
_nullFutureto see if they preserve zones properly.An optimization to use
_Future._nullFuturehad to be reverted (73f45d6)Apparently starting an async function has to use a Future in the current zone, even though the called 'then' function is wrapped in the zone.
Trying to optimize this to _nullFuture (in the root zone) broke a customer tests.
@floitschG I don't really understand why this should matter, since
_Future._thenNoZoneRegistrationcreates another _Future in the current zone.