MCPcopy Create free account
hub / github.com/DFHack/dfhack / ~RPCService

Method ~RPCService

library/RemoteServer.cpp:117–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117RPCService::~RPCService()
118{
119 if (holder)
120 holder->detach_connection(this);
121
122 for (size_t i = 0; i < functions.size(); i++)
123 delete functions[i];
124}
125
126ServerFunctionBase *RPCService::getFunction(const std::string &name)
127{

Callers

nothing calls this directly

Calls 2

detach_connectionMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected