MCPcopy Create free account
hub / github.com/NodeRT/NodeRT / AyncCloseCb

Method AyncCloseCb

src/NodeRTLib/ProjectFiles/node-async.h:354–359  ·  view source on GitHub ↗

called after the async handle is closed in order to free it's memory

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected