MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / disconnect

Method disconnect

include/Helpers/NetworkingObjects/NetObjManager.cpp:46–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 updateCommandID = initUpdateCommandID;
45 }
46 void NetObjManager::disconnect() {
47 server = nullptr;
48 client = nullptr;
49 }
50 bool NetObjManager::is_connected() const {
51 return (server && !server->is_disconnected()) || (client && !client->is_disconnected());
52 }

Callers 6

connection_updateMethod · 0.80
reconnectMethod · 0.80
probeServiceMethod · 0.80
onServicesDiscoveredMethod · 0.80
shutdownMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected