MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / ~ModuleServiceImpl

Method ~ModuleServiceImpl

simcore/framework/src/module/module_impl.cc:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55
56ModuleServiceImpl::~ModuleServiceImpl() {
57 if (run_serve_task_ && run_serve_task_->joinable()) run_serve_task_->join();
58 if (socket_) socket_->close();
59 if (inner_cmd_socket_) inner_cmd_socket_->close();
60 if (zmq_ctx_) zmq_ctx_->close();
61}
62
63
64void ModuleServiceImpl::Serve(void* module, const std::string& mid, const std::string& service_addr) {

Callers

nothing calls this directly

Calls 2

joinMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected