There was an error while loading. Please reload this page.
1 parent afa1363 commit eb72ff4Copy full SHA for eb72ff4
1 file changed
lib/zone.ts
@@ -796,7 +796,7 @@ const Zone: ZoneType = (function(global: any) {
796
// will run in notScheduled(canceled) state, we should not try to
797
// run such kind of task but just return
798
799
-if(task.state===notScheduled&&task.type===eventTask){
+if(task.state===notScheduled&&(task.type===eventTask||task.type===macroTask)){
800
return;
801
}
802
0 commit comments