| 46 | } |
| 47 | |
| 48 | void ExecutorModule::Shutdown() { |
| 49 | run_flag_ = false; |
| 50 | |
| 51 | std::this_thread::sleep_for(std::chrono::seconds(1)); |
| 52 | |
| 53 | AIMRT_INFO("Shutdown succeeded."); |
| 54 | } |
| 55 | |
| 56 | void ExecutorModule::SimpleExecuteDemo() { |
| 57 | work_executor_.Execute([this]() { |
nothing calls this directly
no outgoing calls
no test coverage detected