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

Function remove_services

test/test_arbitrator/test_arbitrator_server_impl.cpp:119–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117////////////////////////////////////////////////////////////////////////////////
118
119void remove_services(erpc::SimpleServer *server)
120{
121 /* Remove services
122 * Example: server->removeService (svc);
123 */
124 server->removeService(svc);
125 /* Delete unused service
126 */
127 delete svc->getHandler();
128 delete svc;
129}

Callers

nothing calls this directly

Calls 2

removeServiceMethod · 0.80
getHandlerMethod · 0.45

Tested by

no test coverage detected