Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TDesktop-x64/tdesktop
/ unloadAll
Method
unloadAll
Telegram/SourceFiles/data/data_histories.cpp:162–166 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
160
}
161
162
void Histories::unloadAll() {
163
for (const auto &[peerId, history] : _map) {
164
history->clear(History::ClearType::Unload);
165
}
166
}
167
168
void Histories::clearAll() {
169
_map.clear();
Callers
1
clear
Method · 0.80
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected