MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / notifyExit

Method notifyExit

source/network/ODServer.cpp:1923–1934  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1921}
1922
1923void ODServer::notifyExit()
1924{
1925 while(!mServerNotificationQueue.empty())
1926 {
1927 delete mServerNotificationQueue.front();
1928 mServerNotificationQueue.pop_front();
1929 }
1930
1931 ServerNotification* exitServerNotification = new ServerNotification(
1932 ServerNotificationType::exit, nullptr);
1933 queueServerNotification(exitServerNotification);
1934}
1935
1936ODSocketClient* ODServer::getClientFromPlayer(Player* player)
1937{

Callers 1

exitApplicationMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected