Permalink
Browse files

turned blocking mode back on in read()

  • Loading branch information...
1 parent 0405125 commit b3a3381ef46e53ccae728e809f771d04b1aadac3 @tobyjoe tobyjoe committed Apr 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/HID.cc
View
2 src/HID.cc
@@ -234,7 +234,7 @@ HID::read(const Arguments& args)
new ReceiveIOCB(hid,
Persistent<Object>::New(Local<Object>::Cast(args.This())),
Persistent<Function>::New(Local<Function>::Cast(args[0])),
- 0
+ -1
));
ev_ref(EV_DEFAULT_UC);

0 comments on commit b3a3381

Please sign in to comment.