MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / onStop

Method onStop

Tactility/Source/service/espnow/EspNowService.cpp:37–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void EspNowService::onStop(ServiceContext& service) {
38 auto lock = mutex.asScopedLock();
39 lock.lock();
40
41 if (isEnabled()) {
42 disable();
43 }
44}
45
46// region Enable
47

Callers

nothing calls this directly

Calls 4

isEnabledFunction · 0.85
disableFunction · 0.85
asScopedLockMethod · 0.80
lockMethod · 0.45

Tested by

no test coverage detected