patch dual-open-control-double-notify-fix.patch

This commit is contained in:
Rusty Russell 2022-01-11 11:47:06 +10:30
parent 1ae3172409
commit d042cbc344
1 changed files with 1 additions and 1 deletions

View File

@ -66,9 +66,9 @@ void channel_unsaved_close_conn(struct channel *channel, const char *why)
" Disconnecting and deleting channel. Reason: %s",
why);
notify_disconnect(channel->peer->ld, &channel->peer->id);
channel_cleanup_commands(channel, why);
assert(channel->owner);
channel_set_owner(channel, NULL);
delete_channel(channel);
}