MCPcopy Create free account
hub / github.com/AimRT/AimRT / Shutdown

Method Shutdown

src/examples/cpp/executor/module/executor_module/executor_module.cc:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48void 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
56void ExecutorModule::SimpleExecuteDemo() {
57 work_executor_.Execute([this]() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected