From: Cheng Zhao Date: Mon, 22 Jul 2013 07:06:08 +0000 (+0800) Subject: Remove redundant calls to wake up main thread. X-Git-Tag: v0.1.4~6 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=1f019b36d2321d53bf577d826c51fbd767e74685;p=electron.git Remove redundant calls to wake up main thread. --- diff --git a/common/node_bindings_mac.cc b/common/node_bindings_mac.cc index 3fa70f0b..8aeb2518 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