diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-01-02 12:29:39 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-01-02 12:29:39 +0100 |
commit | c123ac05dc37311d3dfb37ed6f22baef58280379 (patch) | |
tree | f1c49f60d3affab2148d50af7df46c0fe2238c4d /deps/uv/src/unix/sunos.c | |
parent | 4b3824b6826db3487d7490283d3d7f396720f337 (diff) | |
parent | 6f8839d2ac362ced42235a34a023af5e2c656501 (diff) | |
download | android-node-v8-c123ac05dc37311d3dfb37ed6f22baef58280379.tar.gz android-node-v8-c123ac05dc37311d3dfb37ed6f22baef58280379.tar.bz2 android-node-v8-c123ac05dc37311d3dfb37ed6f22baef58280379.zip |
Merge remote-tracking branch 'origin/v0.6'
Conflicts:
src/udp_wrap.cc
Diffstat (limited to 'deps/uv/src/unix/sunos.c')
-rw-r--r-- | deps/uv/src/unix/sunos.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/uv/src/unix/sunos.c b/deps/uv/src/unix/sunos.c index 0fd4e42f08..49d372b495 100644 --- a/deps/uv/src/unix/sunos.c +++ b/deps/uv/src/unix/sunos.c @@ -184,12 +184,14 @@ int uv_fs_event_init(uv_loop_t* loop, ev_io_init(&handle->event_watcher, uv__fs_event_read, portfd, EV_READ); ev_io_start(loop->ev, &handle->event_watcher); + ev_unref(loop->ev); return 0; } void uv__fs_event_destroy(uv_fs_event_t* handle) { + ev_ref(handle->loop->ev); ev_io_stop(handle->loop->ev, &handle->event_watcher); uv__close(handle->fd); handle->fd = -1; |