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

Function was_plugin_destroyed

lightningd/plugin.c:546–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

544}
545
546static bool was_plugin_destroyed(struct plugin_destroyed *pd)
547{
548 if (pd->plugin) {
549 tal_del_destructor2(pd->plugin, mark_plugin_destroyed, pd);
550 tal_free(pd);
551 return false;
552 }
553 tal_free(pd);
554 return true;
555}
556
557/* Returns the error string, or NULL */
558static const char *plugin_response_handle(struct plugin *plugin,

Callers 2

plugin_response_handleFunction · 0.85
plugin_read_json_oneFunction · 0.85

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected