mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 22:46:40 +01:00
This commit fixes a case where the peer blocks the shutdown process. During the shutdown, the server will call `s.DisconnectPeer`, which calls `peer.Disconnect`. Because the peer never enters `peer.Start` via `s.peerInitializer`, the `startReady` chan will not be closed, causing `peer.Disconnect` to hang forever. We now fix it by only block on `startReady` when the peer is started. |
||
---|---|---|
.. | ||
brontide.go | ||
brontide_test.go | ||
interfaces.go | ||
log.go | ||
musig_chan_closer.go | ||
ping_manager.go | ||
ping_manager_test.go | ||
test_utils.go |