| 309 | } |
| 310 | |
| 311 | void TaskCoroutineTeensy::stop() FL_NOEXCEPT { |
| 312 | if (!mContext) return; |
| 313 | |
| 314 | mContext->stop_and_complete(); |
| 315 | |
| 316 | // Remove from runner queue |
| 317 | CoroutineRunner::instance().remove(mContext.get()); |
| 318 | } |
| 319 | |
| 320 | bool TaskCoroutineTeensy::isRunning() const FL_NOEXCEPT { |
| 321 | if (!mContext) return false; |
nothing calls this directly
no test coverage detected