| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The test was missing an initialization of the global `ref` variable because there was also an unused local one, leading to failures like the one seen in nodejs#34625.
|
Please 👍 to fast-track |
Sorry, something went wrong.
Sorry, something went wrong.
|
Ok, now I'm really curious why this wasn't failing consistently in other CI runs! So happy you found this! |
Sorry, something went wrong.
I think your PR changes GC timing in some way – previously, the finalizer was run during shutdown, where no JS calls are allowed anyway (i.e. the NAPI_PREAMBLE in napi_throw_error() prevents the function from doing anything but failing). With your PR, the finalizer is scheduled to run from actual GC on some platforms, so it can cause uncaught exceptions in JS. |
Sorry, something went wrong.
The test was missing an initialization of the global `ref` variable because there was also an unused local one, leading to failures like the one seen in #34625. PR-URL: #34726 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
|
Landed in 9f47e5a, thanks for the quick reviews! |
Sorry, something went wrong.
The test was missing an initialization of the global `ref` variable because there was also an unused local one, leading to failures like the one seen in #34625. PR-URL: #34726 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
The test was missing an initialization of the global `ref` variable because there was also an unused local one, leading to failures like the one seen in #34625. PR-URL: #34726 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
The test was missing an initialization of the global `ref` variable because there was also an unused local one, leading to failures like the one seen in #34625. PR-URL: #34726 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
The test was missing an initialization of the global `ref` variable because there was also an unused local one, leading to failures like the one seen in #34625. PR-URL: #34726 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
| Back | FazBrowse Home | New Git URL |
The test was missing an initialization of the global ref variable
because there was also an unused local one, leading to failures
like the one seen in #34625.
Checklist