Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Moddable-OpenSource/moddable
/ tcpRelease
Function
tcpRelease
modules/io/socket/win/tcp.c:388–393 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
386
}
387
388
void tcpRelease(TCP tcp)
389
{
390
tcp->useCount -= 1;
391
if (tcp->useCount <= 0)
392
xs_tcp_destructor(tcp);
393
}
394
395
void xs_tcp_mark(xsMachine* the, void* it, xsMarkRoot markRoot)
396
{
Callers
3
doClose
Function · 0.70
tcpTask
Function · 0.70
reportTrigger
Function · 0.70
Calls
1
xs_tcp_destructor
Function · 0.70
Tested by
no test coverage detected