angular / zone.js

Implements Zones for JavaScript
https://github.com/angular/angular/tree/master/packages/zone.js/
MIT License
3.25k stars 408 forks source link

microTask 'Promise.then': can not transition to 'running', expecting state 'scheduled', was 'scheduling'. #1189

Closed earshinov closed 5 years ago

earshinov commented 5 years ago

Looks similar to https://github.com/angular/zone.js/issues/1167 except that this one is in Promise.then instead of setInterval.

We receive this error though an automated error reporting system (Sentry) and have not yet managed to reproduce it manually.

For what we see, problem occurs in IE11 only.

We use zone.js 0.8.26 (so, https://github.com/angular/zone.js/issues/1085 does not apply).

JiaLiPassion commented 5 years ago

@earshinov, could you provide a reproduce repo? thanks.

benjaminrau commented 5 years ago

Same happens to us (also known only from Sentry). Happens on different routes, components etc. Yet we have NOT been able to reproduce it ourselves.

JiaLiPassion commented 5 years ago

Will close for now, if it can be reproduce, we will research again.