| 650 | } |
| 651 | |
| 652 | static bool was_plugin_destroyed(struct plugin_destroyed *pd) |
| 653 | { |
| 654 | if (pd->plugin) { |
| 655 | tal_del_destructor2(pd->plugin, mark_plugin_destroyed, pd); |
| 656 | tal_free(pd); |
| 657 | return false; |
| 658 | } |
| 659 | tal_free(pd); |
| 660 | return true; |
| 661 | } |
| 662 | |
| 663 | static void destroy_request(struct jsonrpc_request *req, |
| 664 | struct plugin *plugin) |
no test coverage detected