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

Method ~ObjectWrap

nan_object_wrap.h:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18
19 virtual ~ObjectWrap() {
20 if (persistent().IsEmpty()) {
21 return;
22 }
23
24 persistent().ClearWeak();
25 persistent().Reset();
26 }
27
28
29 template <class T>

Callers

nothing calls this directly

Calls 3

ClearWeakMethod · 0.80
IsEmptyMethod · 0.45
ResetMethod · 0.45

Tested by

no test coverage detected