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

Function plugin_conn_finish

lightningd/plugin.c:786–793  ·  view source on GitHub ↗

This catches the case where their stdout closes (usually they're dead). */

Source from the content-addressed store, hash-verified

784
785/* This catches the case where their stdout closes (usually they're dead). */
786static void plugin_conn_finish(struct io_conn *conn, struct plugin *plugin)
787{
788 /* This is expected at shutdown of course. */
789 plugin_kill(plugin,
790 plugin->plugins->ld->state == LD_STATE_SHUTDOWN
791 ? LOG_DBG : LOG_INFORM,
792 "exited %s", state_desc(plugin));
793}
794
795struct io_plan *plugin_stdin_conn_init(struct io_conn *conn,
796 struct plugin *plugin)

Callers

nothing calls this directly

Calls 2

plugin_killFunction · 0.85
state_descFunction · 0.85

Tested by

no test coverage detected