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

src: consolidate environment cleanup queue by legendecas · Pull Request #44379 · nodejs/node · GitHub

/ node Public

src: consolidate environment cleanup queue - #44379

Closed
legendecas wants to merge 1 commit into
nodejs:mainfrom
legendecas:shadow-realm/cleanup-callbacks
Closed

src: consolidate environment cleanup queue#44379
legendecas wants to merge 1 commit into
nodejs:mainfrom
legendecas:shadow-realm/cleanup-callbacks

Conversation

Copy link
Copy Markdown
Member

Each Realm tracks its own cleanup hooks and drains the hooks when it is
going to be destroyed.

Moves the implementations of the cleanup queue to its own class so that
it can be used in node::Realm too.

Refs: #44348
Refs: #42528

nodejs-github-bot commented Aug 24, 2022
edited by legendecas
Loading

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/startup

legendecas force-pushed the shadow-realm/cleanup-callbacks branch from 885ed6c to d0e5fe4 Compare August 24, 2022 18:02
nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Aug 24, 2022
legendecas force-pushed the shadow-realm/cleanup-callbacks branch from d0e5fe4 to b712fb6 Compare August 28, 2022 17:26
legendecas added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 29, 2022
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 29, 2022

Copy link
Copy Markdown
Collaborator

Comment thread src/cleanup_queue.h Outdated
Comment thread src/cleanup_queue-inl.h Outdated
legendecas force-pushed the shadow-realm/cleanup-callbacks branch from b712fb6 to 0e48bdf Compare August 31, 2022 16:30
legendecas added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 2, 2022
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 2, 2022

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Comment thread src/cleanup_queue-inl.h Outdated
Each Realm tracks its own cleanup hooks and drains the hooks when it is
going to be destroyed.

Moves the implementations of the cleanup queue to its own class so that
it can be used in `node::Realm` too.
legendecas force-pushed the shadow-realm/cleanup-callbacks branch from 0e48bdf to 60e285a Compare September 5, 2022 16:06
legendecas added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 6, 2022
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 6, 2022

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Member Author

Landed in 0b5b5ed. Thank you for the review!

legendecas closed this Sep 7, 2022
legendecas added a commit that referenced this pull request Sep 7, 2022
Each Realm tracks its own cleanup hooks and drains the hooks when it is
going to be destroyed.

Moves the implementations of the cleanup queue to its own class so that
it can be used in `node::Realm` too.

PR-URL: #44379
Refs: #44348
Refs: #42528
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
legendecas deleted the shadow-realm/cleanup-callbacks branch September 7, 2022 16:07
RafaelGSS pushed a commit that referenced this pull request Sep 26, 2022
Each Realm tracks its own cleanup hooks and drains the hooks when it is
going to be destroyed.

Moves the implementations of the cleanup queue to its own class so that
it can be used in `node::Realm` too.

PR-URL: #44379
Refs: #44348
Refs: #42528
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
RafaelGSS mentioned this pull request Sep 26, 2022
RafaelGSS pushed a commit that referenced this pull request Sep 26, 2022
Each Realm tracks its own cleanup hooks and drains the hooks when it is
going to be destroyed.

Moves the implementations of the cleanup queue to its own class so that
it can be used in `node::Realm` too.

PR-URL: #44379
Refs: #44348
Refs: #42528
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
legendecas added the realm Issues and PRs related to the ShadowRealm API and node::Realm label Dec 26, 2022
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

c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. realm Issues and PRs related to the ShadowRealm API and node::Realm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL