Skip to content

Conversation

@sputn1ck
Copy link
Member

This PR adds a check to the runtime loop
of the reservation manager to check if the
channel is closing before trying to read
from it.

This commit adds a check to the runtime loop
of the reservation manager to check if the
channel is closing before trying to read
from it.
Copy link
Collaborator

@starius starius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🏆

if !ok {
// The channel has been closed, we'll stop the
// reservation manager.
log.Debugf("Stopping reservation manager (ntfnChan closed)")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add newline before return

@sputn1ck sputn1ck merged commit 0ab40fe into lightninglabs:master Oct 16, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants