MCPcopy 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
162void Histories::unloadAll() {
163 for (const auto &[peerId, history] : _map) {
164 history->clear(History::ClearType::Unload);
165 }
166}
167
168void Histories::clearAll() {
169 _map.clear();

Callers 1

clearMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected