Skip to content

Prevent panic on publish after MessageBus is closed#223

Merged
lxowalle merged 1 commit intosipeed:mainfrom
mattn:fix/bus-panic-on-send-after-close
Feb 16, 2026
Merged

Prevent panic on publish after MessageBus is closed#223
lxowalle merged 1 commit intosipeed:mainfrom
mattn:fix/bus-panic-on-send-after-close

Conversation

@mattn
Copy link
Contributor

@mattn mattn commented Feb 15, 2026

During shutdown, if goroutines (heartbeat, agent loop, etc.) call PublishInbound/PublishOutbound after Close() has already closed the channels, Go panics with send on closed channel, crashing the process.

@lxowalle lxowalle merged commit a371d53 into sipeed:main Feb 16, 2026
3 checks passed
@lxowalle
Copy link
Collaborator

Thanks for you pr.

@lxowalle
Copy link
Collaborator

We are forming the PicoClaw Dev Group to accelerate the evolution of the project. Any developer with more than one merged PR is invited to join.

Would you like to join the PicoClaw Dev Group? If so, please send an email to support@sipeed.com with the subject line: [Join PicoClaw Dev Group] + Your GitHub account. We will send the Discord invite link to your inbox.

edgargomero pushed a commit to edgargomero/kntorclaw that referenced this pull request Feb 16, 2026
hahnavi pushed a commit to hahnavi/picoclaw that referenced this pull request Feb 16, 2026
emadomedher pushed a commit to emadomedher/picoclaw that referenced this pull request Feb 17, 2026
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.

2 participants