Skip to content

Commit

Permalink
return 0 from luv_close
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Phillips committed Sep 5, 2012
1 parent f9ed04b commit b76d1c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deps/uv
Submodule uv updated 188 files
2 changes: 1 addition & 1 deletion src/luv_handle.c
Expand Up @@ -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);
Expand Down

0 comments on commit b76d1c1

Please sign in to comment.