Skip to content

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

Merged
jsor merged 1 commit into
reactphp:masterfrom
clue-labs:cleanup
Feb 6, 2018
Merged

Properly clean up event watchers for ext-event and ext-libev#149
jsor merged 1 commit into
reactphp:masterfrom
clue-labs:cleanup

Conversation

@clue

@clueclue commented Feb 6, 2018

Copy link
Copy Markdown
Member

Also refs #104

@clueclue added this to the v0.5.0 milestone Feb 6, 2018
Comment threadsrc/ExtLibevLoop.php Outdated

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

Copy link
Copy Markdown
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
Copy Markdown
MemberAuthor

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 approved these changes Feb 6, 2018
@jsor
jsor merged commit e03f114 into reactphp:masterFeb 6, 2018
@clue
clue deleted the cleanup branch February 6, 2018 15:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@clue@jsor@WyriHaximus