| 544 | } |
| 545 | |
| 546 | static 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 */ |
| 558 | static const char *plugin_response_handle(struct plugin *plugin, |
no test coverage detected