delegate event send to worker.

This commit is contained in:
Jay
2026-04-17 19:29:17 -04:00
parent 84144803c4
commit 88e6b837b4

View File

@@ -211,12 +211,6 @@ func (p *Pool) Remove(id string) error {
close(peer.stop)
select {
case p.events <- PoolEvent{ID: id, Kind: EventDisconnected}:
case <-p.done:
return nil
}
return nil
}