Skip to content

Check if the file descriptor really exists#42

Merged
rtomayko merged 2 commits intortomayko:masterfrom
TwP:master
Dec 5, 2013
Merged

Check if the file descriptor really exists#42
rtomayko merged 2 commits intortomayko:masterfrom
TwP:master

Conversation

@TwP
Copy link
Contributor

@TwP TwP commented Dec 5, 2013

If one of the IO.pipe calls fail, then the subsequent file descriptors will not be allocated. We need to account for this failure mode in the ensure block; otherwise the real error will be masked by an "undefined method on Nil" exception.

/cc @rtomayko

TwP added 2 commits December 5, 2013 14:44
If one of the `IO.pipe` calls fail, then the subsequent file descriptors will
not be allocated. We need to account for this failure mode in the `ensure`
block; otherwise the real error will be masked by an "undefined method on Nil"
exception.
rtomayko added a commit that referenced this pull request Dec 5, 2013
Check if the file descriptor really exists
@rtomayko rtomayko merged commit 3b9afb4 into rtomayko:master Dec 5, 2013
@rtomayko
Copy link
Owner

rtomayko commented Dec 6, 2013

Merged and the 0.3.8 release should be on rubygems.org. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants