Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AgoraIO/API-Examples
/ SafeRelease
Function
SafeRelease
windows/APIExample/APIExample/videobase.h:40–47 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
#include
"resource.h"
39
40
template <class T> void SafeRelease(T **ppT)
41
{
42
if (*ppT)
43
{
44
(*ppT)->Release();
45
*ppT = NULL;
46
}
47
}
48
49
50
Callers
nothing calls this directly
Calls
1
Release
Method · 0.45
Tested by
no test coverage detected