Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ cleanup
Function
cleanup
test/sockets/test_sockets_echo_server.c:65–74 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
63
client_t client;
64
65
void cleanup() {
66
if (client.fd) {
67
close(client.fd);
68
client.fd = 0;
69
}
70
if (server.fd) {
71
close(server.fd);
72
server.fd = 0;
73
}
74
}
75
76
void main_loop() {
77
int res;
Callers
nothing calls this directly
Calls
1
close
Function · 0.50
Tested by
no test coverage detected