MCPcopy Create free account
hub / github.com/nodejs/nan / ~AsyncWorker

Method ~AsyncWorker

nan.h:2021–2029  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2019 }
2020
2021 virtual ~AsyncWorker() {
2022 HandleScope scope;
2023
2024 if (!persistentHandle.IsEmpty())
2025 persistentHandle.Reset();
2026 delete callback;
2027 delete[] errmsg_;
2028 delete async_resource;
2029 }
2030
2031 virtual void WorkComplete() {
2032 HandleScope scope;

Callers

nothing calls this directly

Calls 2

IsEmptyMethod · 0.45
ResetMethod · 0.45

Tested by

no test coverage detected