MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / startLoading

Method startLoading

Telegram/SourceFiles/core/update_checker.cpp:868–874  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

866}
867
868void HttpLoader::startLoading() {
869 LOG(("Update Info: Loading using HTTP from '%1'.").arg(_url));
870
871 _thread = std::make_unique<QThread>();
872 _actor = new HttpLoaderActor(this, _thread.get(), _url);
873 _thread->start();
874}
875
876HttpLoader::~HttpLoader() {
877 if (const auto thread = base::take(_thread)) {

Callers

nothing calls this directly

Calls 3

getMethod · 0.45
startMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected