Remove redundant calls to wake up main thread.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 22 Jul 2013 07:06:08 +0000 (15:06 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 22 Jul 2013 07:06:08 +0000 (15:06 +0800)
common/node_bindings_mac.cc

index 3fa70f0..8aeb251 100644 (file)
@@ -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