Skip to content

[gh-10875] Use stream destroy method on close to prevent emit 'close'…#10897

Merged
vkarpov15 merged 1 commit into
Automattic:5.xfrom
iovanom:gh-10875-1
Oct 19, 2021
Merged

[gh-10875] Use stream destroy method on close to prevent emit 'close'…#10897
vkarpov15 merged 1 commit into
Automattic:5.xfrom
iovanom:gh-10875-1

Conversation

@iovanom
Copy link
Copy Markdown
Contributor

@iovanom iovanom commented Oct 18, 2021

… event twice

Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. The two fields below are mandatory.

If you're making a change to documentation, do not modify a .html file directly. Instead find the corresponding .pug file or test case in the test/docs directory.

Summary

These changes fix the issue with twice emitted 'close' events for version 5.
#10876

The PR #10878 with fix for lastest version is already merged. This one is for version 5.

Examples

Copy link
Copy Markdown
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@vkarpov15 vkarpov15 added this to the 5.13.12 milestone Oct 19, 2021
@vkarpov15 vkarpov15 merged commit 92bfcb7 into Automattic:5.x Oct 19, 2021
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