called after the async handle is closed in order to free it's memory
| 352 | |
| 353 | // called after the async handle is closed in order to free it's memory |
| 354 | static void __cdecl AyncCloseCb(uv_handle_t* handle) { |
| 355 | if (handle != nullptr) { |
| 356 | uv_async_t* async = reinterpret_cast<uv_async_t*>(handle); |
| 357 | delete async; |
| 358 | } |
| 359 | } |
| 360 | |
| 361 | // Called by run on main in case we are not running on the main thread |
| 362 | NODEASYNC_ASYNC_WORK_CB(AsyncCb) { |
nothing calls this directly
no outgoing calls
no test coverage detected