MCPcopy Create free account
hub / github.com/Snapchat/Valdi / releaseAll

Method releaseAll

valdi/src/valdi/runtime/Utils/RefCountableAutoreleasePool.cpp:27–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27void RefCountableAutoreleasePool::releaseAll() {
28 while (_entriesIndex < _entries.size()) {
29 auto index = _entriesIndex++;
30 Valdi::unsafeBridgeRelease(_entries[index]);
31 }
32}
33
34void RefCountableAutoreleasePool::release(void* ptr) {
35 auto* current = tCurrent;

Callers 2

TEST_PFunction · 0.80

Calls 2

unsafeBridgeReleaseFunction · 0.85
sizeMethod · 0.45

Tested by 1

TEST_PFunction · 0.64