Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
ClearWeak
Method · 0.80
IsEmpty
Method · 0.45
Reset
Method · 0.45
Tested by
no test coverage detected