MCPcopy Create free account
hub / github.com/ElementsProject/lightning / trace_cleanup

Function trace_cleanup

common/trace.c:482–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480}
481
482void trace_cleanup(void)
483{
484 spans = tal_free(spans);
485 if (trace_socket_fd >= 0) {
486 close(trace_socket_fd);
487 trace_socket_fd = -1;
488 }
489}

Callers 6

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

tal_freeFunction · 0.85

Tested by 6

mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68