MCPcopy 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
395void tcpRelease(TCP tcp)
396{
397 tcp->useCount -= 1;
398 if (tcp->useCount <= 0)
399 xs_tcp_destructor(tcp);
400}
401
402void xs_tcp_mark(xsMachine* the, void* it, xsMarkRoot markRoot)
403{

Callers 3

doCloseFunction · 0.70
tcpTaskFunction · 0.70
reportTriggerFunction · 0.70

Calls 1

xs_tcp_destructorFunction · 0.70

Tested by

no test coverage detected