| 665 | REGISTER_NOTIFICATION(shutdown, NULL); |
| 666 | |
| 667 | bool notify_plugin_shutdown(struct lightningd *ld, struct plugin *p) |
| 668 | { |
| 669 | struct jsonrpc_notification *n = |
| 670 | jsonrpc_notification_start(NULL, "shutdown"); |
| 671 | |
| 672 | jsonrpc_notification_end(n); |
| 673 | return plugin_single_notify(p, take(n)); |
| 674 | } |
no test coverage detected