clean node ref and remove short circuit

This commit is contained in:
Shelley Vohr 2018-03-03 21:20:11 -08:00 committed by Cheng Zhao
parent 3fea581ec8
commit 1882b88c78
2 changed files with 1 additions and 3 deletions

View file

@ -106,8 +106,6 @@ void AtomBindings::OnCallNextTick(uv_async_t* handle) {
if (!tick_info->has_scheduled())
env->isolate()->RunMicrotasks();
v8::Local<v8::Object> process = env->process_object();
if (!tick_info->has_scheduled())
return;
env->tick_callback_function()->Call(process, 0, nullptr).IsEmpty();
}