| 137 | }; |
| 138 | |
| 139 | static void plugin_stop_timeout(struct plugin_stop_timeout *pst) |
| 140 | { |
| 141 | log_unusual(pst->p->log, "Timeout on shutdown: killing anyway"); |
| 142 | tal_del_destructor2(pst->p, plugin_stopped, pst->cmd); |
| 143 | plugin_stop(pst->cmd, pst->p, true); |
| 144 | } |
| 145 | |
| 146 | static struct command_result * |
| 147 | plugin_dynamic_stop(struct command *cmd, const char *plugin_name) |
nothing calls this directly
no test coverage detected