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

Function StopHTTPServer

src/httpserver.cpp:423–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421}
422
423void StopHTTPServer()
424{
425 LogPrint("http", "Stopping HTTP server\n");
426 delete workQueue;
427 if (eventHTTP) {
428 evhttp_free(eventHTTP);
429 eventHTTP = 0;
430 }
431 if (eventBase) {
432 event_base_free(eventBase);
433 eventBase = 0;
434 }
435}
436
437struct event_base* EventBase()
438{

Callers 1

ShutdownFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected