MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / popActivity

Method popActivity

src/activities/ActivityManager.cpp:240–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240void ActivityManager::popActivity() {
241 if (pendingActivity) {
242 // Should never happen in practice
243 LOG_ERR("ACT", "pendingActivity while popActivity is not expected");
244 pendingActivity.reset();
245 }
246 pendingAction = PendingAction::Pop;
247}
248
249bool ActivityManager::preventAutoSleep() const { return currentActivity && currentActivity->preventAutoSleep(); }
250

Callers 1

finishMethod · 0.80

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected