Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect disposable/destroyed epoll resubscribe handling #2781

Merged
merged 1 commit into from
Jun 12, 2018

Conversation

SeanTAllen
Copy link
Member

Correctly this time as I messed up the boolean logic in
8b21f0a.

Closes #2684

See for initial incorrect PR

#2744

 Correctly this time as I messed up the boolean logic in
 8b21f0a.

 Closes #2684

 See for initial incorrect PR

 #2744
@SeanTAllen SeanTAllen added the changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge label Jun 12, 2018
Copy link
Contributor

@mfelsche mfelsche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

God, and I approved that last one. Shame on me!

It all makes sense now.

@mfelsche mfelsche merged commit 0d4c98e into master Jun 12, 2018
@mfelsche mfelsche deleted the fix-it-for-real branch June 12, 2018 08:03
ponylang-main added a commit that referenced this pull request Jun 12, 2018
dipinhora added a commit to dipinhora/ponyc that referenced this pull request Jul 20, 2018
ponylang#2781 accidentally used the
wrong `flags` variable. It used `flags` when it should have used
`ev->flags`.

This PR corrects the code to use the `ev->flags` variable. This PR
also removes the check for `ASIO_DISPOSABLE` from the boolean logic
because the enum value for `ASIO_DISPOSABLE` is `0` (see asio.h)
and the check will always be true.

This PR also adds some comments to that part of the code to clarify
what is occuring and why.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog - fixed Automatically add "Fixed" CHANGELOG entry on merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants