Browse Source

win: uv_poll_get_timeout is removed

Cheng Zhao 10 years ago
parent
commit
f6d6a12c1a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      atom/common/node_bindings_win.cc

+ 1 - 1
atom/common/node_bindings_win.cc

@@ -39,7 +39,7 @@ void NodeBindingsWin::PollEvents() {
     ULONG_PTR key;
     OVERLAPPED* overlapped;
 
-    timeout = uv_get_poll_timeout(uv_loop_);
+    timeout = uv_backend_timeout(uv_loop_);
     GetQueuedCompletionStatus(uv_loop_->iocp,
                               &bytes,
                               &key,