Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ DisconnectPeer
Method
DisconnectPeer
Kernel/src/net/socket.cpp:158–164 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
156
}
157
158
void LocalSocket::DisconnectPeer(){
159
assert(peer);
160
161
peer->OnDisconnect();
162
163
peer = nullptr;
164
}
165
166
void LocalSocket::OnDisconnect(){
167
connected = false;
Callers
nothing calls this directly
Calls
1
OnDisconnect
Method · 0.80
Tested by
no test coverage detected