Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ retainDisposables
Method
retainDisposables
valdi/src/valdi/runtime/Context/Context.cpp:398–400 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
396
}
397
398
void Context::retainDisposables() {
399
_disposableRefCount++;
400
}
401
402
void Context::releaseDisposables() {
403
auto value = --_disposableRefCount;
Callers
8
JSContextWrapper
Method · 0.80
TEST
Function · 0.80
withJsContext
Function · 0.80
retain
Method · 0.80
doOnCreate
Method · 0.80
JavaScriptRuntime
Method · 0.80
runtimeCreateContext
Method · 0.80
runtimeProtectNativeRefs
Method · 0.80
Calls
no outgoing calls
Tested by
2
JSContextWrapper
Method · 0.64
TEST
Function · 0.64