Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node-addon-api
/ DeleteWorker
Method
DeleteWorker
test/async_worker_persistent.cc:30–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
}
29
30
static void DeleteWorker(const CallbackInfo& info) {
31
(void)info;
32
delete current_worker;
33
}
34
35
~PersistentTestWorker() { current_worker = nullptr; }
36
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected