Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cln_plugin: add
shutdown()
method to Plugin
When plugins receive a "shutdown" notification, then can call this method which will shutdown `cln_plugin`. Then they can await `plugin.join()` and do any remaining cleanup there. This helps avoid a pain-point where plugin authors need to handle 2 separate plugin shutdown mechanisms ElementsProject#6040
- Loading branch information