MCPcopy 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
388void tcpRelease(TCP tcp)
389{
390 tcp->useCount -= 1;
391 if (tcp->useCount <= 0)
392 xs_tcp_destructor(tcp);
393}
394
395void xs_tcp_mark(xsMachine* the, void* it, xsMarkRoot markRoot)
396{

Callers 3

doCloseFunction · 0.70
tcpTaskFunction · 0.70
reportTriggerFunction · 0.70

Calls 1

xs_tcp_destructorFunction · 0.70

Tested by

no test coverage detected