node-addon-api
node-addon-api copied to clipboard
Module for using Node-API from C++
As reported in https://github.com/nodejs/node-addon-api/pull/1086#issue-1017797535
A mirror of pr https://github.com/nodejs/node-addon-api/pull/1196, but for `ThreadSafeFunction` class
Fix implementation of `AsyncProgressWorker::Signal` and `AsyncProgressQueueWorker::Signal` Fixes: #1095 Fixes: #1081
See this [minimal reproduction repository](https://github.com/MichaelBelousov/leaky-nodeaddon-repro). When creating several instances of a C++ object that is wrapped by `ObjectWrap`, memory usage goes up forever unless the JavaScript job yields. Even though...
I want to pass in the object as a parameter I get error "Fatal error in HandleScope::HandleScope" "Entering the V8 API without proper locking in place" example ```cpp class TestWorker...
Hello, Thanks to this [post](https://jakecyr.medium.com/saving-javascript-callbacks-with-node-addon-api-3c6e804aa367), I was able to embed a simple event listener in my class. Basically, on JS call of a static `On` method, my wrapped class records...
This is not strictly an issue, more a **performance** issue... point me to a better location where to post this, if it's not the right place... I could not find...
We discussed on the 7 Oct Node API meeting: There have been several PRs that have been merged (or waiting to be merged) that fix behavior of APIs. We should...
I have got several memory leak issues with this addon library. I thought it was me who wrote the code wrong. But when I am trying to run this example,...
Adding test coverage for `TSFN::New` overloads where we provide the async resource name and/or the async resource object but no finalizer callbacks.