Skip to content

Commit

Permalink
removed obsolete portability workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 3, 2011
1 parent 777a377 commit 9b65b27
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/Mojo/IOLoop/Stream.pm
Expand Up @@ -118,10 +118,6 @@ sub _write {
# Retry
return if $! == EAGAIN || $! == EINTR || $! == EWOULDBLOCK;

# Close
return $self->emit('close')
if $handle->can('connected') && !$handle->connected;

# Write error
return $self->emit(error => $!);
}
Expand Down

0 comments on commit 9b65b27

Please sign in to comment.