Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ release
Method
release
valdi_core/src/valdi_core/cpp/Utils/ObjectPool.hpp:88–94 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
86
Cleanup _cleanUpFunc;
87
88
void release() {
89
if (_pool != nullptr) {
90
_cleanUpFunc(_value);
91
_pool->add(std::move(_value));
92
_pool = nullptr;
93
}
94
}
95
};
96
97
template<typename T>
Callers
2
toStdLock
Method · 0.45
toValdiLock
Method · 0.45
Calls
1
add
Method · 0.65
Tested by
no test coverage detected