| 926 | } |
| 927 | |
| 928 | void subd_release_channel(struct subd *owner, const void *channel) |
| 929 | { |
| 930 | /* If owner is a per-peer-daemon, and not already freeing itself... */ |
| 931 | if (owner->channel) { |
| 932 | assert(owner->channel == channel); |
| 933 | owner->channel = NULL; |
| 934 | tal_free(owner); |
| 935 | } |
| 936 | } |
| 937 | |
| 938 | char *opt_subd_dev_disconnect(const char *optarg, struct lightningd *ld) |
| 939 | { |
no test coverage detected