From 1f019b36d2321d53bf577d826c51fbd767e74685 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 22 Jul 2013 15:06:08 +0800 Subject: [PATCH] Remove redundant calls to wake up main thread. --- common/node_bindings_mac.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/node_bindings_mac.cc b/common/node_bindings_mac.cc index 3fa70f0b61e..8aeb2518b8a 100644 --- a/common/node_bindings_mac.cc +++ b/common/node_bindings_mac.cc @@ -42,9 +42,6 @@ void NodeBindingsMac::PollEvents() { r = ::kevent(kqueue_, NULL, 0, &ev, 1, timeout == -1 ? NULL : &spec); } while (r == -1 && errno == EINTR); - - // Deal with event in main thread. - WakeupMainThread(); } // static