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

Method checkQuitPreventFinished

Telegram/SourceFiles/data/data_stories.cpp:1427–1434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1425}
1426
1427void Stories::checkQuitPreventFinished() {
1428 if (_markReadRequests.empty() && _incrementViewsRequests.empty()) {
1429 if (Core::Quitting()) {
1430 LOG(("Stories doesn't prevent quit any more."));
1431 }
1432 Core::App().quitPreventFinished();
1433 }
1434}
1435
1436void Stories::sendMarkAsReadRequests() {
1437 _markReadTimer.cancel();

Callers

nothing calls this directly

Calls 4

QuittingFunction · 0.85
AppClass · 0.85
quitPreventFinishedMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected