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

Function ld_conn_finish

plugins/libplugin.c:2330–2336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2328}
2329
2330static void ld_conn_finish(struct io_conn *conn, struct plugin *plugin)
2331{
2332 /* Without one of the conns there is no reason to stay alive. That
2333 * certainly means lightningd died, since there is no cleaner way
2334 * to stop, return 0. */
2335 exit(0);
2336}
2337
2338/* lightningd writes on our stdin */
2339static struct io_plan *stdin_conn_init(struct io_conn *conn,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected