Skip to content

n-api: regression with napi_delete_async_work since v10.2.0 #20966

@nstepien

Description

@nstepien
  • Version: v10.2.1
  • Platform: any
  • Subsystem: n-api

I'm experimenting with n-api in a branch of iltorb: nstepien/iltorb#70
I added calls to napi_delete_async_work after forgetting to make use of it, but I ended up getting rogue segmentation faults.

The tests pass on previous versions of Node on various CI, and also on Node v10.1.0 locally, but not Node v10.2.0.
Removing the calls to napi_delete_async_work seems to appease Node v10.2.x.

Metadata

Metadata

Labels

node-apiIssues and PRs related to the Node-API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions