forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Milestone
Description
Carefully review what each function does in our TickEventLoop implementation and if we correctly set the more variable:
Lines 4802 to 4818 in 2fae0db
| inline static bool TickEventLoop(Environment & env) { | |
| bool more; | |
| uv_run(env.event_loop(), UV_RUN_ONCE); | |
| v8_platform.DrainVMTasks(); | |
| more = uv_loop_alive(env.event_loop()); | |
| if (more) | |
| return more; | |
| EmitBeforeExit(&env); | |
| // Emit `beforeExit` if the loop became alive either after emitting | |
| // event, or after running some callbacks. | |
| more = uv_loop_alive(env.event_loop()); | |
| return more; | |
| } |
Metadata
Metadata
Assignees
Labels
No labels