Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

src: use cleanup hooks to tear down BaseObjects (workers preparation) #88

Closed
wants to merge 1 commit into from

Conversation

addaleax
Copy link
Contributor

Clean up after BaseObject instances when the Environment is being shut down. This takes care of closing non-libuv resources like zlib instances, which do not require asynchronous shutdown.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Clean up after `BaseObject` instances when the `Environment`
is being shut down. This takes care of closing non-libuv resources
like `zlib` instances, which do not require asynchronous shutdown.
addaleax added a commit that referenced this pull request Oct 2, 2017
Clean up after `BaseObject` instances when the `Environment`
is being shut down. This takes care of closing non-libuv resources
like `zlib` instances, which do not require asynchronous shutdown.

PR-URL: #88
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
@addaleax
Copy link
Contributor Author

addaleax commented Oct 2, 2017

Landed in df82c20

@addaleax addaleax closed this Oct 2, 2017
@addaleax addaleax deleted the base-object-cleanup-hooks branch October 2, 2017 10:14
@addaleax addaleax added the worker label Oct 8, 2017
addaleax added a commit to addaleax/node that referenced this pull request Mar 18, 2018
Clean up after `BaseObject` instances when the `Environment`
is being shut down. This takes care of closing non-libuv resources
like `zlib` instances, which do not require asynchronous shutdown.

Many thanks for Stephen Belanger, Timothy Gu and Alexey Orlenko for
reviewing the original version of this commit in the Ayo.js project.

Refs: ayojs/ayo#88
addaleax added a commit to addaleax/node that referenced this pull request Apr 21, 2018
Clean up after `BaseObject` instances when the `Environment`
is being shut down. This takes care of closing non-libuv resources
like `zlib` instances, which do not require asynchronous shutdown.

Many thanks for Stephen Belanger, Timothy Gu and Alexey Orlenko for
reviewing the original version of this commit in the Ayo.js project.

Refs: ayojs/ayo#88
addaleax added a commit to addaleax/node that referenced this pull request Apr 27, 2018
Clean up after `BaseObject` instances when the `Environment`
is being shut down. This takes care of closing non-libuv resources
like `zlib` instances, which do not require asynchronous shutdown.

Many thanks for Stephen Belanger, Timothy Gu and Alexey Orlenko for
reviewing the original version of this commit in the Ayo.js project.

Refs: ayojs/ayo#88
addaleax added a commit to addaleax/node that referenced this pull request May 9, 2018
Clean up after `BaseObject` instances when the `Environment`
is being shut down. This takes care of closing non-libuv resources
like `zlib` instances, which do not require asynchronous shutdown.

Many thanks for Stephen Belanger, Timothy Gu and Alexey Orlenko for
reviewing the original version of this commit in the Ayo.js project.

Refs: ayojs/ayo#88
addaleax added a commit to nodejs/node that referenced this pull request May 10, 2018
Clean up after `BaseObject` instances when the `Environment`
is being shut down. This takes care of closing non-libuv resources
like `zlib` instances, which do not require asynchronous shutdown.

Many thanks for Stephen Belanger, Timothy Gu and Alexey Orlenko for
reviewing the original version of this commit in the Ayo.js project.

Refs: ayojs/ayo#88
PR-URL: #19377
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
addaleax added a commit to nodejs/node that referenced this pull request May 14, 2018
Clean up after `BaseObject` instances when the `Environment`
is being shut down. This takes care of closing non-libuv resources
like `zlib` instances, which do not require asynchronous shutdown.

Many thanks for Stephen Belanger, Timothy Gu and Alexey Orlenko for
reviewing the original version of this commit in the Ayo.js project.

Refs: ayojs/ayo#88
PR-URL: #19377
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants