This catches the case where their stdout closes (usually they're dead). */
| 784 | |
| 785 | /* This catches the case where their stdout closes (usually they're dead). */ |
| 786 | static 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 | |
| 795 | struct io_plan *plugin_stdin_conn_init(struct io_conn *conn, |
| 796 | struct plugin *plugin) |
nothing calls this directly
no test coverage detected