Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

fix(console): console.log in nodejs should run in root Zone#855

Merged
mhevery merged 1 commit intoangular:masterfrom
JiaLiPassion:consolelog
Jul 27, 2017
Merged

fix(console): console.log in nodejs should run in root Zone#855
mhevery merged 1 commit intoangular:masterfrom
JiaLiPassion:consolelog

Conversation

@JiaLiPassion
Copy link
Copy Markdown
Collaborator

fix angular/angular#17180

in nodejs, console.log will use process.nextTick and schedule a microTask which will cause
infinite loop, so we need to make sure it run in Zone.root.

@vikerman
Copy link
Copy Markdown
Contributor

Thanks! LGTM

@mhevery mhevery merged commit 5900d3a into angular:master Jul 27, 2017
@JiaLiPassion JiaLiPassion deleted the consolelog branch August 10, 2017 02:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

4 participants