Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ ~JSRetainPtr
Method
~JSRetainPtr
third-party/jscore/include/JavaScriptCore/JSRetainPtr.h:99–103 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
97
}
98
99
template<typename T> inline JSRetainPtr<T>::~JSRetainPtr()
100
{
101
if (m_ptr)
102
JSRelease(m_ptr);
103
}
104
105
template<typename T> inline void JSRetainPtr<T>::clear()
106
{
Callers
nothing calls this directly
Calls
1
JSRelease
Function · 0.85
Tested by
no test coverage detected