MCPcopy Create free account
hub / github.com/ddnet/ddnet / OnShutdown

Method OnShutdown

src/engine/server/register.cpp:787–797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

785}
786
787void CRegister::OnShutdown()
788{
789 for(int i = 0; i < NUM_PROTOCOLS; i++)
790 {
791 if(!m_aProtocolEnabled[i])
792 {
793 continue;
794 }
795 m_aProtocols[i].SendDeleteIfRegistered(true);
796 }
797}
798
799IRegister *CreateRegister(CConfig *pConfig, IConsole *pConsole, IEngine *pEngine, IHttp *pHttp, int ServerPort, unsigned SixupSecurityToken)
800{

Callers 2

RunMethod · 0.45
RunMethod · 0.45

Calls 1

Tested by

no test coverage detected