Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

unix: fix running loop when all handles are unref'd #666

Closed
wants to merge 2 commits into from
Closed

unix: fix running loop when all handles are unref'd #666

wants to merge 2 commits into from

Conversation

saghul
Copy link
Contributor

@saghul saghul commented Dec 24, 2012

Hi!

This pull request contains 2 fixes: the first commit disallows NULL to be passed as a callback to prepare/idle/check handles and modifies the tests accordingly.

After the first commit, the build fails on unix (test-ref) because the event loop will run once even if all handles are unref'd. This wasn's apparent because the tests in test-ref used NULL as a callback. The second commit fixes this.

/cc @bnoordhuis @piscisaureus

@saghul
Copy link
Contributor Author

saghul commented Dec 24, 2012

Thanks for the lighning fast review @bnoordhuis ;-) I just force pushed with the suggested changes.

@bnoordhuis
Copy link
Contributor

Thanks Saúl, landed in 33d5c49 and 4650a59.

@bnoordhuis bnoordhuis closed this Dec 24, 2012
@saghul
Copy link
Contributor Author

saghul commented Dec 24, 2012

Awesome, thanks!

@saghul saghul deleted the fix-unix-run branch September 11, 2014 19:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants