MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / should_terminate

Method should_terminate

OpenHD/ohd_common/src/openhd_action_handler.cpp:109–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109bool openhd::TerminateHelper::should_terminate() {
110 if (!m_should_terminate) return false;
111 int64_t tp = m_terminate_tp;
112 if (openhd::util::steady_clock_time_epoch_ms() >= tp) {
113 return true;
114 }
115 return false;
116}
117
118std::string openhd::TerminateHelper::terminate_reason() {
119 return m_terminate_reason;

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected