Closed
Description
When a ThreadSafeFunction
instance is created from napi_threadsafe_function
, its BlockingCall
method doesn't work properly:
- The passed callback is ignored, but still required by the method signature (the one supplied with
napi_create_threadsafe_function
is used) - The passed
data
pointer is incorrect for some reason.napi_call_threadsafe_function
works fine.
I'm doing this because I want to napi_unref_threadsafe_function
without using all the verbose C APIs.
Metadata
Metadata
Assignees
Labels
No labels