Files
node/doc/api
Anna Henningsen 0ec1d186f4 src: always use strong reference to napi_async_context resource
There already is an existing requirement to have matching calls of
`napi_async_init()` and `napi_async_destroy()`, so expecting users
of this API to manually hold onto the resource for the duration of
the `napi_async_context`'s lifetime is unnecessary.

Weak callbacks are generally useful for when a corresponding C++
object should be cleaned up when a JS object is gargbage-collected,
but that is not the case here.

PR-URL: https://github.com/nodejs/node/pull/59828
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2025-09-22 14:16:10 +00:00
..
2025-07-15 17:18:42 +00:00
2025-06-09 23:45:29 +02:00
2025-07-28 20:03:37 +00:00
2025-07-15 17:18:42 +00:00
2024-11-01 03:43:53 +00:00
2025-09-10 21:36:47 +02:00
2025-07-28 20:03:37 +00:00
2025-08-28 19:23:59 +00:00
2025-07-31 23:44:19 +02:00
2025-07-28 20:03:37 +00:00
2025-08-28 23:08:02 +02:00
2025-07-15 17:18:42 +00:00
2025-07-15 17:18:42 +00:00
2025-09-10 21:36:47 +02:00
2025-07-15 17:18:42 +00:00
2025-07-15 17:18:42 +00:00
2025-08-29 02:24:57 +00:00
2025-07-15 17:18:42 +00:00
2025-07-15 17:18:42 +00:00
2025-09-17 16:54:11 +00:00
2025-08-27 23:16:17 +02:00
2025-06-09 23:45:29 +02:00
2025-07-15 17:18:42 +00:00
2025-07-15 17:18:42 +00:00
2025-07-31 23:43:30 +02:00
2025-09-10 21:36:47 +02:00
2025-07-15 17:18:42 +00:00