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

Function plugin_stop_timeout

lightningd/plugin_control.c:139–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137};
138
139static 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
146static struct command_result *
147plugin_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