Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Moddable-OpenSource/moddable
/ tcpRelease
Function
tcpRelease
modules/io/socket/lin/tcp.c:395–400 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
393
}
394
395
void tcpRelease(TCP tcp)
396
{
397
tcp->useCount -= 1;
398
if (tcp->useCount <= 0)
399
xs_tcp_destructor(tcp);
400
}
401
402
void xs_tcp_mark(xsMachine* the, void* it, xsMarkRoot markRoot)
403
{
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