Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ close
Method
close
src/OpenLoco/src/Network/NetworkBase.cpp:85–98 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
83
}
84
85
void NetworkBase::close()
86
{
87
if (_isClosed)
88
{
89
return;
90
}
91
92
endReceivePacketLoop();
93
94
onClose();
95
96
_sockets.clear();
97
_isClosed = true;
98
}
Callers
1
loadG1
Function · 0.45
Calls
2
onClose
Function · 0.50
clear
Method · 0.45
Tested by
no test coverage detected