Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TelegramMessenger/tgcalls
/ ~ThreadLocalObject
Method
~ThreadLocalObject
tgcalls/ThreadLocalObject.h:26–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
}
25
26
~ThreadLocalObject() {
27
_thread->PostTask([valueHolder = std::move(_valueHolder)](){
28
valueHolder->_value.reset();
29
});
30
}
31
32
template <typename FunctorT>
33
void perform(FunctorT &&functor) {
Callers
nothing calls this directly
Calls
1
reset
Method · 0.45
Tested by
no test coverage detected