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

Method disconnect

source/network/ODClient.cpp:1062–1072  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1060}
1061
1062void ODClient::disconnect(bool keepReplay)
1063{
1064 ODSocketClient::disconnect(keepReplay);
1065 while(!mClientNotificationQueue.empty())
1066 {
1067 delete mClientNotificationQueue.front();
1068 mClientNotificationQueue.pop_front();
1069 }
1070
1071 mIsPlayerConfig = false;
1072}
1073
1074void ODClient::notifyExit()
1075{

Callers 8

startClientMethod · 0.45
doTaskMethod · 0.45
stopServerMethod · 0.45
~GameEditorModeBaseMethod · 0.45
~SettingsWindowMethod · 0.45
goBackMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected