MCPcopy Create free account
hub / github.com/FastLED/FastLED / stop

Method stop

src/platforms/esp/32/coroutine_esp32.impl.hpp:269–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269void TaskCoroutineESP32::stop() FL_NOEXCEPT {
270 if (!mTask) return;
271 mShouldStop.store(true);
272 vTaskDelete(mTask);
273 mTask = nullptr;
274 mCompleted.store(true);
275}
276
277bool TaskCoroutineESP32::isRunning() const FL_NOEXCEPT {
278 return !mCompleted.load();

Callers

nothing calls this directly

Calls 1

storeMethod · 0.45

Tested by

no test coverage detected