GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — test: checks on napi factory wrap’s finalization by legendecas · Pull Request #22612 · nodejs/node Conversation
|
|
@nodejs/n-api PTAL |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I'm actually not sure that we need this PR given that we already test for this in https://github.com/nodejs/node/blob/master/test/addons-napi/8_passing_wrapped/test.js.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Nevertheless, I don't have any strong objections to landing this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@legendecas I suppose for completeness you could instead, in https://github.com/nodejs/node/blob/master/test/addons-napi/8_passing_wrapped/test.js, change the storage of obj2 = null; global.gc(); assert.strictEqual(addon.finalizeCount(), 2); That would round out that test nicely. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@gabrielschulhof thanks for reviewing😁. amended. It's true that finalizer has been checked in 8_passing_wrapped, however it could be more reasonable to take more checks. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Resumed CI as: https://ci.nodejs.org/job/node-test-pull-request/17016/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Resumed again as CI: https://ci.nodejs.org/job/node-test-pull-request/17017/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Fresh CI: https://ci.nodejs.org/job/node-test-pull-request/17022/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Another CI: https://ci.nodejs.org/job/node-test-pull-request/17056/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
New CI: https://ci.nodejs.org/job/node-test-pull-request/17138/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Another new CI: https://ci.nodejs.org/job/node-test-pull-request/17145/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Resumed CI as: https://ci.nodejs.org/job/node-test-pull-request/17152/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in 1cee085. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Fixes: #22396 PR-URL: #22612 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]>
Fixes: #22396 PR-URL: #22612 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]>
Fixes: #22396 PR-URL: #22612 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]>
Fixes: #22396 PR-URL: #22612 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.