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

Function plugin_stop_timeout

lightningd/plugin_control.c:137–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135};
136
137static void plugin_stop_timeout(struct plugin_stop_timeout *pst)
138{
139 log_unusual(pst->p->log, "Timeout on shutdown: killing anyway");
140 tal_del_destructor2(pst->p, plugin_stopped, pst->cmd);
141 plugin_stop(pst->cmd, pst->p, true);
142}
143
144static struct command_result *
145plugin_dynamic_stop(struct command *cmd, const char *plugin_name)

Callers

nothing calls this directly

Calls 1

plugin_stopFunction · 0.85

Tested by

no test coverage detected