Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
uv: upgrade to 0db3274
  • Loading branch information
bnoordhuis committed Dec 6, 2011
1 parent 580e670 commit 57d2857
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deps/uv/src/unix/stream.c
Expand Up @@ -341,6 +341,13 @@ static void uv__write(uv_stream_t* stream) {
int iovcnt;
ssize_t n;

if (stream->flags & UV_CLOSING) {
/* Handle was closed this tick. We've received a stale
* 'is writable' callback from the event loop, ignore.
*/
return;
}

start:

assert(stream->fd >= 0);
Expand Down

0 comments on commit 57d2857

Please sign in to comment.