MCPcopy Create free account
hub / github.com/assaultcube/AC / cleanupserver

Function cleanupserver

source/src/server.cpp:4701–4710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4699}
4700
4701void cleanupserver()
4702{
4703 if(serverhost) { enet_host_destroy(serverhost); serverhost = NULL; }
4704 if(svcctrl)
4705 {
4706 svcctrl->stop();
4707 DELETEP(svcctrl);
4708 }
4709 exitlogging();
4710}
4711
4712int getpongflags(enet_uint32 ip)
4713{

Callers 2

fatalFunction · 0.85
cleanupFunction · 0.85

Calls 3

enet_host_destroyFunction · 0.85
exitloggingFunction · 0.85
stopMethod · 0.45

Tested by

no test coverage detected