MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / remove_services

Function remove_services

test/test_arbitrator/test_arbitrator_client_impl.cpp:156–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154////////////////////////////////////////////////////////////////////////////////
155
156void remove_services(erpc::SimpleServer *server)
157{
158 /* Remove services
159 * Example: server->removeService (svc);
160 */
161 server->removeService(svc);
162 /* Delete unused service
163 */
164 delete svc->getHandler();
165 delete svc;
166}

Callers

nothing calls this directly

Calls 2

removeServiceMethod · 0.80
getHandlerMethod · 0.45

Tested by

no test coverage detected