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

Properly clean up event watchers for ext-event and ext-libev #149

Merged
merged 1 commit into from
Feb 6, 2018

Conversation

clue
Copy link
Member

@clue clue commented Feb 6, 2018

Also refs #104

@clue clue added this to the v0.5.0 milestone Feb 6, 2018
@@ -110,6 +112,7 @@ public function removeWriteStream($stream)

if (isset($this->writeEvents[$key])) {
$this->writeEvents[$key]->stop();
$this->loop->remove($this->readEvents[$key]);
Copy link
Member

Choose a reason for hiding this comment

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

Looks like this line causes build failures in PHP < 7, eg. https://travis-ci.org/reactphp/event-loop/jobs/337955988#L1463

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for spotting, fixed the copy-pasta 🍝 :shipit:

@jsor jsor merged commit e03f114 into reactphp:master Feb 6, 2018
@clue clue deleted the cleanup branch February 6, 2018 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants