mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
lightningd: don't kill subds immediately on disconnect.
Give them time to process any final messages! If there's a reconnect, then we need to clean them up immediately of course. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
neil saitug
parent
6a2817101d
commit
671e66490e
@@ -85,9 +85,6 @@ void peer_connected(struct lightningd *ld, const u8 *msg);
|
||||
void peer_disconnect_done(struct lightningd *ld, const u8 *msg);
|
||||
void peer_spoke(struct lightningd *ld, const u8 *msg);
|
||||
|
||||
/* May delete peer! */
|
||||
void peer_channels_cleanup_on_disconnect(struct peer *peer);
|
||||
|
||||
/* Could be configurable. */
|
||||
#define OUR_CHANNEL_FLAGS CHANNEL_FLAGS_ANNOUNCE_CHANNEL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user