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

Function remove_services

test/test_unions/test_unions_server_impl.cpp:281–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279////////////////////////////////////////////////////////////////////////////////
280
281void remove_services(erpc::SimpleServer *server)
282{
283 /* Remove services
284 * Example: server->removeService (svc);
285 */
286 server->removeService(svc);
287 /* Delete unused service
288 */
289 delete svc->getHandler();
290 delete svc;
291}
292
293#ifdef __cplusplus
294extern "C" {

Callers

nothing calls this directly

Calls 2

removeServiceMethod · 0.80
getHandlerMethod · 0.45

Tested by

no test coverage detected