MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / StopHTTPRPC

Function StopHTTPRPC

src/httprpc.cpp:181–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181void StopHTTPRPC()
182{
183 LogPrint("rpc", "Stopping HTTP RPC server\n");
184 UnregisterHTTPHandler("/", true);
185 if (httpRPCTimerInterface) {
186 RPCUnregisterTimerInterface(httpRPCTimerInterface);
187 delete httpRPCTimerInterface;
188 httpRPCTimerInterface = 0;
189 }
190}

Callers 1

ShutdownFunction · 0.85

Calls 2

UnregisterHTTPHandlerFunction · 0.85

Tested by

no test coverage detected