MCPcopy Create free account
hub / github.com/RenderKit/oidn / detach

Method detach

core/arena.cpp:64–68  ·  view source on GitHub ↗

Detaches the scratch arena

Source from the content-addressed store, hash-verified

62
63 // Detaches the scratch arena
64 void ScratchArenaManager::detach(ScratchArena* arena)
65 {
66 // We don't free/trim the heap yet because it's expensive. It can be done by calling trim().
67 allocs[arena->name].arenas.erase(arena);
68 }
69
70 // -----------------------------------------------------------------------------------------------
71 // ScratchArena

Callers 1

~ScratchArenaMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected