Skip to content
Permalink
Browse files

return 0 from luv_close

  • Loading branch information...
Ryan Phillips
Ryan Phillips committed Sep 5, 2012
1 parent f9ed04b commit b76d1c125eccfe37156d636bf48b07ca3f0897a5
Showing with 2 additions and 2 deletions.
  1. +1 −1 deps/uv
  2. +1 −1 src/luv_handle.c
Submodule uv updated 188 files
@@ -86,7 +86,7 @@ int luv_close (lua_State* L) {
/* printf("close \tlhandle=%p handle=%p\n", handle->data, handle);*/
if (uv_is_closing(handle)) {
fprintf(stderr, "WARNING: Handle already closing \tlhandle=%p handle=%p\n", handle->data, handle);
return;
return 0;
}
uv_close(handle, luv_on_close);
luv_handle_ref(L, handle->data, 1);

0 comments on commit b76d1c1

Please sign in to comment.
You can’t perform that action at this time.