MCPcopy 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
99template<typename T> inline JSRetainPtr<T>::~JSRetainPtr()
100{
101 if (m_ptr)
102 JSRelease(m_ptr);
103}
104
105template<typename T> inline void JSRetainPtr<T>::clear()
106{

Callers

nothing calls this directly

Calls 1

JSReleaseFunction · 0.85

Tested by

no test coverage detected