napi_remove_async_cleanup_hook
functionnode_api.hUnregisters the cleanup hook corresponding to remove_handle. This will prevent the hook from being executed, unless it has already started executing.
NAPI_EXTERN napi_status napi_remove_async_cleanup_hook(
napi_async_cleanup_hook_handle remove_handle);
[in] remove_handle: The handle to an asynchronous cleanup hook that was created withnapi_add_async_cleanup_hook.
Unregisters the cleanup hook corresponding to remove_handle. This will prevent
the hook from being executed, unless it has already started executing.
This must be called on any napi_async_cleanup_hook_handle value obtained
from napi_add_async_cleanup_hook.