FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: adds note about weak reference by flovilmart · Pull Request #40519 · nodejs/node · GitHub

/ node Public

doc: adds note about weak reference - #40519

Closed
flovilmart wants to merge 1 commit into
nodejs:mainfrom
flovilmart:patch-1
Closed

doc: adds note about weak reference#40519
flovilmart wants to merge 1 commit into
nodejs:mainfrom
flovilmart:patch-1

Conversation

Copy link
Copy Markdown

As the channels are weakly held, if the consumer does not keep a reference to the channel, it may be de-allocated before an emitter fires.

As the channels are weakly held, if the consumer does not keep a reference to the channel, it may be de-allocated before an emitter fires.
nodejs-github-bot added diagnostics_channel Issues and PRs related to diagnostics channel doc Issues and PRs related to the documentations. labels Oct 19, 2021
flovilmart changed the title DiagnosticChannels: add not for weak reference doc: adds note about weak reference Oct 20, 2021

Copy link
Copy Markdown
Member

Related: #42170

The issue has been fixed by #44943 since the channels increase ref counting when there are active subscribers in that PR.

Copy link
Copy Markdown
Member

I am closing this PR. Please feel free to re-open if there is anything to discuss. Thank you for your contribution!

legendecas closed this Mar 5, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

diagnostics_channel Issues and PRs related to diagnostics channel doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL